|
|||||||||
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 |
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 |
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. |
boolean |
getPassive()
|
java.lang.String |
getPassword()
|
java.net.URL |
getURL()
Deprecated. |
java.lang.String |
getUserName()
|
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, setAddr, setURI |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, 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
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() throws java.net.MalformedURLException, java.net.URISyntaxException
getURL
in class FileEpr
java.net.URISyntaxException
- thrown if the address is invalid.
java.net.MalformedURLException
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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.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() throws java.net.URISyntaxException
java.net.URISyntaxException
- thrown if this EPR is malformed.public java.lang.String toString()
toString
in class FileEpr
public EPR copy()
EPR
copy
in class FileEpr
public static java.net.URI type()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |