org.opensaml.ws.transport.http
Class HttpClientInTransport
java.lang.Object
org.opensaml.ws.transport.http.HttpClientInTransport
- All Implemented Interfaces:
- org.opensaml.ws.transport.http.HTTPInTransport, org.opensaml.ws.transport.http.HTTPTransport, LocationAwareInTransport, org.opensaml.ws.transport.InTransport, org.opensaml.ws.transport.Transport
public class HttpClientInTransport
- extends Object
- implements org.opensaml.ws.transport.http.HTTPInTransport, LocationAwareInTransport
Implementation of HTTPInTransport delegating to a HTTPClient postMethod object.
- Author:
- Mandus Elfving, Vladimir Schafer
Nested classes/interfaces inherited from interface org.opensaml.ws.transport.http.HTTPTransport |
org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientInTransport
public HttpClientInTransport(org.apache.commons.httpclient.methods.PostMethod postMethod,
String endpointURI)
getLocalAddress
public String getLocalAddress()
- Specified by:
getLocalAddress
in interface LocationAwareInTransport
getPeerAddress
public String getPeerAddress()
- Specified by:
getPeerAddress
in interface org.opensaml.ws.transport.http.HTTPInTransport
getPeerDomainName
public String getPeerDomainName()
- Specified by:
getPeerDomainName
in interface org.opensaml.ws.transport.http.HTTPInTransport
getIncomingStream
public InputStream getIncomingStream()
- Specified by:
getIncomingStream
in interface org.opensaml.ws.transport.InTransport
getAttribute
public Object getAttribute(String s)
- Specified by:
getAttribute
in interface org.opensaml.ws.transport.Transport
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interface org.opensaml.ws.transport.Transport
getLocalCredential
public org.opensaml.xml.security.credential.Credential getLocalCredential()
- Specified by:
getLocalCredential
in interface org.opensaml.ws.transport.Transport
getPeerCredential
public org.opensaml.xml.security.credential.Credential getPeerCredential()
- Specified by:
getPeerCredential
in interface org.opensaml.ws.transport.Transport
isAuthenticated
public boolean isAuthenticated()
- Specified by:
isAuthenticated
in interface org.opensaml.ws.transport.Transport
setAuthenticated
public void setAuthenticated(boolean b)
- Specified by:
setAuthenticated
in interface org.opensaml.ws.transport.Transport
isConfidential
public boolean isConfidential()
- Specified by:
isConfidential
in interface org.opensaml.ws.transport.Transport
setConfidential
public void setConfidential(boolean b)
- Specified by:
setConfidential
in interface org.opensaml.ws.transport.Transport
isIntegrityProtected
public boolean isIntegrityProtected()
- Specified by:
isIntegrityProtected
in interface org.opensaml.ws.transport.Transport
setIntegrityProtected
public void setIntegrityProtected(boolean b)
- Specified by:
setIntegrityProtected
in interface org.opensaml.ws.transport.Transport
getHeaderValue
public String getHeaderValue(String s)
- Specified by:
getHeaderValue
in interface org.opensaml.ws.transport.http.HTTPTransport
getHTTPMethod
public String getHTTPMethod()
- Specified by:
getHTTPMethod
in interface org.opensaml.ws.transport.http.HTTPTransport
getStatusCode
public int getStatusCode()
- Specified by:
getStatusCode
in interface org.opensaml.ws.transport.http.HTTPTransport
getParameterValue
public String getParameterValue(String s)
- Specified by:
getParameterValue
in interface org.opensaml.ws.transport.http.HTTPTransport
getParameterValues
public List<String> getParameterValues(String s)
- Specified by:
getParameterValues
in interface org.opensaml.ws.transport.http.HTTPTransport
getVersion
public org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION getVersion()
- Specified by:
getVersion
in interface org.opensaml.ws.transport.http.HTTPTransport