|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.soap.client.HTTPSOAPTransportFactory
public class HTTPSOAPTransportFactory
HTTP-based SOAP transport factory.
Constructor Summary | |
---|---|
HTTPSOAPTransportFactory(MessageEncoder encoder,
MessageDecoder decoder)
Constructor. |
Method Summary | |
---|---|
ClientTransport |
createTransport()
Creates a new transport instance. |
int |
getConnectionTimeout()
Gets the connection timeout in milliseconds. |
HTTPTransport.HTTP_VERSION |
getHttpVersion()
Gets the HTTP version used when connecting to peers. |
MessageDecoder |
getMessageDecoder()
Gets the decoder used to decode messages from the inbound transport. |
MessageEncoder |
getMessageEncoder()
Gets the encoder used to encode messages to the outbound transport. |
int |
getSocketTimeout()
Gets the socket connection timeout in milliseconds. |
protected void |
initializeHttpClient()
Initializes the HttpClient that will be used by the created HTTPSOAPTransport built by this
factory. |
void |
setConnectionTimeout(int timeout)
Sets the connection timeout in milliseconds. |
void |
setHttpVersion(HTTPTransport.HTTP_VERSION version)
Sets the HTTP version used when connecting to peers. |
void |
setSocketTimeout(int timeout)
Sets the socket connection timeout in milliseconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPSOAPTransportFactory(MessageEncoder encoder, MessageDecoder decoder)
encoder
- encoder used to encode messages onto the outgoing transportdecoder
- decoder used to decode messages from inbound transportMethod Detail |
---|
public int getConnectionTimeout()
public void setConnectionTimeout(int timeout)
timeout
- connection timeout in millisecondspublic HTTPTransport.HTTP_VERSION getHttpVersion()
public void setHttpVersion(HTTPTransport.HTTP_VERSION version)
version
- HTTP version used when connecting to peerspublic int getSocketTimeout()
public void setSocketTimeout(int timeout)
timeout
- socket connection timeout in millisecondspublic MessageDecoder getMessageDecoder()
public MessageEncoder getMessageEncoder()
public ClientTransport createTransport()
createTransport
in interface ClientTransportFactory
protected void initializeHttpClient()
HttpClient
that will be used by the created HTTPSOAPTransport
built by this
factory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |