org.opensaml.ws.soap.client.http
Class AbstractHTTPSOAPTransport

java.lang.Object
  extended by org.opensaml.ws.soap.client.AbstractSOAPTransport<X509Credential>
      extended by org.opensaml.ws.soap.client.http.AbstractHTTPSOAPTransport
All Implemented Interfaces:
HTTPSOAPTransport, SOAPTransport<X509Credential>

public abstract class AbstractHTTPSOAPTransport
extends AbstractSOAPTransport<X509Credential>
implements HTTPSOAPTransport

HTTPSOAPTransport base class handling a lot of boilerplate code.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opensaml.ws.soap.client.http.HTTPSOAPTransport
HTTPSOAPTransport.AuthenticationScheme, HTTPSOAPTransport.HTTPEntityCredential, HTTPSOAPTransport.NTLMCredential, HTTPSOAPTransport.UsernamePasswordCredential
 
Constructor Summary
AbstractHTTPSOAPTransport()
           
 
Method Summary
 HTTPSOAPTransport.HTTPEntityCredential getEntityAuthenticationCredential()
          Gets the credentials to use to authenticate to the HTTP server.
 HTTPSOAPTransport.AuthenticationScheme getEntityAuthenticationScheme()
          Gets the type of authentication to perform with the HTTP server.
 boolean isChunkEncoding()
          Gets whether content should be sent using HTTP 1.1 and chunk encoded.
 void setChunkEncoding(boolean isChunkEncoding)
          Sets whether content should be sent using HTTP 1.1 and chunk encoded.
 void setEntityAuthenticationCredentials(HTTPSOAPTransport.HTTPEntityCredential credentials)
          Sets the credentials to use to authenticate to the HTTP server.
 void setEntityAuthenticationScheme(HTTPSOAPTransport.AuthenticationScheme authnScheme)
          Sets the type of authentication to perform with the HTTP server.
 
Methods inherited from class org.opensaml.ws.soap.client.AbstractSOAPTransport
getConnectionAuthenticationCredential, getPeerConnectionAuthenticatingTrustEngine, getRequestTimeout, getTrustedCredentialCriteria, getTrustedCredentialResolver, setConnectionAuthenticationCredential, setPeerConnectionAuthenticatingTrustEngine, setRequestTimeout, setTrustedCredentialResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.ws.soap.client.SOAPTransport
getConnectionAuthenticationCredential, getPeerConnectionAuthenticatingTrustEngine, getRequestTimeout, getTrustedCredentialCriteria, getTrustedCredentialResolver, send, setConnectionAuthenticationCredential, setPeerConnectionAuthenticatingTrustEngine, setRequestTimeout, setTrustedCredentialResolver, supportsConfidential
 

Constructor Detail

AbstractHTTPSOAPTransport

public AbstractHTTPSOAPTransport()
Method Detail

getEntityAuthenticationCredential

public HTTPSOAPTransport.HTTPEntityCredential getEntityAuthenticationCredential()
Gets the credentials to use to authenticate to the HTTP server.

Specified by:
getEntityAuthenticationCredential in interface HTTPSOAPTransport
Returns:
credentials to use to authenticate to the HTTP server

getEntityAuthenticationScheme

public HTTPSOAPTransport.AuthenticationScheme getEntityAuthenticationScheme()
Gets the type of authentication to perform with the HTTP server.

Specified by:
getEntityAuthenticationScheme in interface HTTPSOAPTransport
Returns:
type of authentication to perform with the HTTP server

isChunkEncoding

public boolean isChunkEncoding()
Gets whether content should be sent using HTTP 1.1 and chunk encoded. If the implemenation does not support HTTP 1.1 this method will always return false.

Specified by:
isChunkEncoding in interface HTTPSOAPTransport
Returns:
whether content should be sent using HTTP 1.1 and chunk encoded

setChunkEncoding

public void setChunkEncoding(boolean isChunkEncoding)
Sets whether content should be sent using HTTP 1.1 and chunk encoded. If the implemenation does not support HTTP 1.1 call to this method will be ignored.

Specified by:
setChunkEncoding in interface HTTPSOAPTransport
Parameters:
isChunkEncoding - whether content should be sent using HTTP 1.1 and chunk encoded

setEntityAuthenticationCredentials

public void setEntityAuthenticationCredentials(HTTPSOAPTransport.HTTPEntityCredential credentials)
Sets the credentials to use to authenticate to the HTTP server.

Specified by:
setEntityAuthenticationCredentials in interface HTTPSOAPTransport
Parameters:
credentials - credentials to use to authenticate to the HTTP server

setEntityAuthenticationScheme

public void setEntityAuthenticationScheme(HTTPSOAPTransport.AuthenticationScheme authnScheme)
Sets the type of authentication to perform with the HTTP server.

Specified by:
setEntityAuthenticationScheme in interface HTTPSOAPTransport
Parameters:
authnScheme - type of authentication to perform with the HTTP server