Package | Description |
---|---|
org.waarp.common.command |
Global classes that store all informations on implemented commands,
arguments, reply codes.
|
org.waarp.common.guid |
Classes implementing GUID
|
org.waarp.common.utility |
Classes implementing Some String and File facility
|
org.waarp.common.xml |
Classes implementing XML facility
|
org.waarp.ftp.core.command |
Global classes that store all informations on implemented commands,
arguments, reply codes.
|
org.waarp.ftp.core.data.handler |
Classes implementing Data connections
The internal logic is the following: When a connection is opened for data network: It first tries to find the corresponding session setup from the control connection. |
org.waarp.gateway.kernel |
Modifier and Type | Method and Description |
---|---|
static ReplyCode |
ReplyCode.getReplyCode(int code) |
int |
CommandInterface.getValue(String argx)
Get an integer value from argument
|
Constructor and Description |
---|
GUID(byte[] bytes)
Constructor that takes a byte array as this GUID's content
|
GUID(String idsource)
Build from String key
|
Modifier and Type | Method and Description |
---|---|
static void |
ParametersChecker.checkSanityString(String... strings)
Check external argument (null is consider as correct)
|
static String |
ParametersChecker.checkSanityString(String value)
Check external argument to avoid Path Traversal attack
|
static int |
WaarpStringUtils.getInteger(org.dom4j.Node node)
Read an integer value from a node
|
static String |
WaarpStringUtils.readFileException(String filename)
Read a file and return its content in String format
|
Modifier and Type | Method and Description |
---|---|
void |
XmlValue.addFromString(String valueOrig)
Add a value into the Multiple values from the String (not compatible with
subXml)
|
protected static Object |
XmlValue.convert(Class<?> type,
String value)
Convert String value to the specified type.
|
void |
XmlValue.setFromString(String value)
Set a value from String
|
Modifier and Type | Method and Description |
---|---|
static FtpArgumentCode.TransferMode |
FtpArgumentCode.getTransferMode(char mode)
Get the TransferMode according to the char
|
static FtpArgumentCode.TransferStructure |
FtpArgumentCode.getTransferStructure(char structure)
Get the TransferStructure according to the char
|
static FtpArgumentCode.TransferSubType |
FtpArgumentCode.getTransferSubType(char subType)
Get the TransferSubType according to the char
|
static FtpArgumentCode.TransferType |
FtpArgumentCode.getTransferType(char type)
Get the TransferType according to the char
|
int |
AbstractCommand.getValue(String argx) |
Modifier and Type | Method and Description |
---|---|
protected io.netty.buffer.ByteBuf |
FtpDataModeCodec.encode(DataBlock msg)
Encode a DataBlock in the correct format for Mode
|
Modifier and Type | Method and Description |
---|---|
protected static HttpPage |
HttpJsonDefinition.loadHttpConfiguration(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpPage cpage) |
protected static AbstractHttpField |
HttpJsonDefinition.loadHttpPage(org.waarp.gateway.kernel.HttpJsonDefinition.ConfigHttpField fieldValue) |
static HttpPageHandler |
HttpJsonDefinition.setConfigurationHttpServerFromJson(String filename)
Initiate the configuration from the json file for Http server
|
static HttpPageHandler |
HttpXmlDefinition.setConfigurationHttpServerFromXml(String filename)
Initiate the configuration from the xml file for Http server
|
Copyright © 2009–2020 Waarp. All rights reserved.