|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.addressing.EPR org.jboss.soa.esb.addressing.eprs.FileEpr org.jboss.soa.esb.addressing.eprs.FTPEpr
public class FTPEpr
A helper class for using FTP style EPRs. Simply create instances of this class instead of the base EPR. Since URLs can use FTP, we try to leverage that as much as possible.
Field Summary | |
---|---|
static java.lang.String |
CONTROL_CHANNEL_ENCODING_TAG
|
static java.lang.String |
PASSIVE_TAG
|
static java.lang.String |
PASSWORD_TAG
|
static java.lang.String |
USERNAME_TAG
|
Fields inherited from class org.jboss.soa.esb.addressing.eprs.FileEpr |
---|
DEFAULT_REPLY_TO_FILE_SUFFIX, ERROR_DEL_TAG, ERROR_DIR_TAG, ERROR_SUFFIX_TAG, INPUT_SUFFIX_TAG, POST_DEL_TAG, POST_DIR_TAG, POST_RENAME_TAG, POST_SUFFIX_TAG, URL_TAG, WORK_SUFFIX_TAG |
Fields inherited from class org.jboss.soa.esb.addressing.EPR |
---|
_logger |
Constructor Summary | |
---|---|
FTPEpr(EPR epr)
|
|
FTPEpr(EPR epr,
org.w3c.dom.Element header)
|
|
FTPEpr(java.lang.String url)
|
|
FTPEpr(java.net.URI uri)
Construct the FTP EPR with the specified URI. |
|
FTPEpr(java.net.URL url)
Deprecated. |
Method Summary | |
---|---|
EPR |
copy()
Return a copy of this EPR. |
java.lang.String |
getControlChannelEncoding()
|
boolean |
getPassive()
|
java.lang.String |
getPassword()
|
java.net.URL |
getURL()
Deprecated. |
java.lang.String |
getUserName()
|
void |
setControlChannelEncoding(java.lang.String ctrlChannelEncoding)
|
void |
setPassive(boolean passive)
Passive FTP? |
void |
setPassword(java.lang.String password)
Set the password for this FTP EPR. |
void |
setURL(java.net.URL url)
Deprecated. |
void |
setUserName(java.lang.String username)
Set the username for this FTP EPR. |
java.lang.String |
toString()
|
static java.net.URI |
type()
|
Methods inherited from class org.jboss.soa.esb.addressing.eprs.FileEpr |
---|
getErrorDelete, getErrorDirectory, getErrorSuffix, getInputSuffix, getPostDelete, getPostDirectory, getPostRename, getPostSuffix, getWorkSuffix, setErrorDelete, setErrorDirectory, setErrorSuffix, setInputSuffix, setPostDelete, setPostDirectory, setPostRename, setPostSuffix, setWorkSuffix |
Methods inherited from class org.jboss.soa.esb.addressing.EPR |
---|
equals, getAddr, getURI, hashCode, setAddr, setURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USERNAME_TAG
public static final java.lang.String PASSWORD_TAG
public static final java.lang.String PASSIVE_TAG
public static final java.lang.String CONTROL_CHANNEL_ENCODING_TAG
Constructor Detail |
---|
public FTPEpr(EPR epr)
public FTPEpr(EPR epr, org.w3c.dom.Element header)
public FTPEpr(java.net.URL url) throws java.net.URISyntaxException
url
-
java.net.URISyntaxException
public FTPEpr(java.net.URI uri)
uri
-
java.net.URISyntaxException
public FTPEpr(java.lang.String url) throws java.net.URISyntaxException
java.net.URISyntaxException
Method Detail |
---|
public final void setURL(java.net.URL url)
setURL
in class FileEpr
url
- the address.public final java.net.URL getURL()
getURL
in class FileEpr
public final void setUserName(java.lang.String username) throws java.net.URISyntaxException
username
- the user's name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getUserName()
public final void setPassword(java.lang.String password) throws java.net.URISyntaxException
password
- the user's name.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final java.lang.String getPassword()
public final void setPassive(boolean passive) throws java.net.URISyntaxException
passive
- the value.
java.net.URISyntaxException
- thrown if this EPR is malformed.public final boolean getPassive()
public java.lang.String toString()
toString
in class FileEpr
public EPR copy()
EPR
copy
in class FileEpr
public static java.net.URI type()
public void setControlChannelEncoding(java.lang.String ctrlChannelEncoding)
public java.lang.String getControlChannelEncoding()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |