|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxsul.dispatcher.routingtable.WS
This class represents an element of the routing table.
Contains all informations for connecting and forwarding requests to a WS.
| Constructor Summary | |
WS()
Create a default WS element with:
host = localhost
port = 80
path = /
and no pre-connection with the WS.
|
|
WS(java.lang.String host,
int port,
java.lang.String path)
Create a WS element with no pre-connection. |
|
WS(java.lang.String host,
int port,
java.lang.String path,
java.lang.String protocol)
Create a WS element with no pre-connection. |
|
| Method Summary | |
java.lang.String |
getHost()
|
MSGWSConnection |
getMsgConnection()
Not a good implementation because use some methods in message package. |
java.lang.String |
getPath()
|
int |
getPort()
|
java.lang.String |
getProtocol()
|
WsaEndpointReference |
getWsaElementFaultTo()
|
void |
getWsaElementFaultTo(WsaEndpointReference wsaFaultTo)
|
WsaEndpointReference |
getWsaElementReplyTo()
|
java.net.URI |
getWsaElementTo()
|
void |
setHost(java.lang.String host)
|
void |
setPath(java.lang.String path)
|
void |
setPort(int port)
|
void |
setProtocol(java.lang.String protocol)
|
void |
setWsaElementReplyTo(WsaEndpointReference wsaReplyTo)
|
void |
setWsaElementTo(java.net.URI wsaTo)
|
java.lang.String |
toString()
Print the url of the WS. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WS()
WS element with:
public WS(java.lang.String host,
int port,
java.lang.String path)
WS element with no pre-connection.
host - WS's host.port - WS's port number.path - WS's path on the host.
public WS(java.lang.String host,
int port,
java.lang.String path,
java.lang.String protocol)
WS element with no pre-connection.
host - WS's host.port - WS's port number.path - WS's path on the host.| Method Detail |
public java.lang.String getHost()
public int getPort()
public java.lang.String getPath()
public void setHost(java.lang.String host)
host - WS's host to set.public void setPath(java.lang.String path)
path - WS's path on the host to set.public void setPort(int port)
port - WS's port number to set.public void setProtocol(java.lang.String protocol)
public java.lang.String getProtocol()
public java.lang.String toString()
Object.toString()public java.net.URI getWsaElementTo()
public WsaEndpointReference getWsaElementReplyTo()
public WsaEndpointReference getWsaElementFaultTo()
public void setWsaElementTo(java.net.URI wsaTo)
wsaTo - the WS-Addressing element To.public void setWsaElementReplyTo(WsaEndpointReference wsaReplyTo)
wsaReplyTo - the WS-Addressing element Reply To.public void getWsaElementFaultTo(WsaEndpointReference wsaFaultTo)
wsaFaultTo - the WS-Addressing element Fault Topublic MSGWSConnection getMsgConnection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||