|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.ws.soap.client.HTTPSOAPTransport.PostMethodHttpInTransport
protected class HTTPSOAPTransport.PostMethodHttpInTransport
Adapts an Apache Commons HTTPClient PostMethod
into an HTTPInTransport
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.opensaml.ws.transport.http.HTTPTransport |
---|
HTTPTransport.HTTP_VERSION |
Constructor Summary | |
---|---|
HTTPSOAPTransport.PostMethodHttpInTransport(org.apache.commons.httpclient.methods.PostMethod method)
Constructor. |
Method Summary | |
---|---|
Object |
getAttribute(String name)
Gets a transport-specific attribute. This method is not supported for this transport implementation. |
String |
getCharacterEncoding()
Gets the character encoding of the transport. |
String |
getHeaderValue(String name)
Gets the first value of the header with the given name. |
String |
getHTTPMethod()
Gets the HTTP method (POST, GET, etc) used. |
InputStream |
getIncomingStream()
Gets the incoming stream from the peer. |
org.opensaml.xml.security.credential.Credential |
getLocalCredential()
Gets the local credential used to authenticate to the peer. This method is not supported for this transport implementation. |
String |
getParameterValue(String name)
Gets the first value of the named parameter. This method is not supported for this transport implementation. |
List<String> |
getParameterValues(String name)
Gets the values of the named parameter. |
String |
getPeerAddress()
Gets the IP address of the peer. |
org.opensaml.xml.security.credential.Credential |
getPeerCredential()
Gets the credential offered by the peer to authenticate itself. This method is not supported for this transport implementation. |
String |
getPeerDomainName()
Gets the domain name of the peer. This method is not supported for this transport implementation. |
int |
getStatusCode()
Gets the status code of the request. |
HTTPTransport.HTTP_VERSION |
getVersion()
Gets the HTTP version used to receive the message. |
boolean |
isAuthenticated()
Gets whether the peer is authenticated. |
boolean |
isConfidential()
Gets whether the transport represents a confidential connection (e.g. This method is not supported for this transport implementation. |
boolean |
isIntegrityProtected()
Gets whether the transport represents a connection that protects the integrity of transported content. |
void |
setAuthenticated(boolean isAuthenticated)
Sets whether the peer is authenticated. |
void |
setConfidential(boolean isConfidential)
Sets whether the transport represents a confidential connection. |
void |
setIntegrityProtected(boolean isIntegrityProtected)
Sets whether the transport represents a connection that protects the integrity of transported content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPSOAPTransport.PostMethodHttpInTransport(org.apache.commons.httpclient.methods.PostMethod method)
method
- post method to be adaptedMethod Detail |
---|
public String getPeerAddress()
getPeerAddress
in interface HTTPInTransport
public String getPeerDomainName()
getPeerDomainName
in interface HTTPInTransport
public InputStream getIncomingStream()
getIncomingStream
in interface InTransport
public Object getAttribute(String name)
getAttribute
in interface Transport
name
- name of the attribute
public String getCharacterEncoding()
getCharacterEncoding
in interface Transport
public org.opensaml.xml.security.credential.Credential getLocalCredential()
getLocalCredential
in interface Transport
public org.opensaml.xml.security.credential.Credential getPeerCredential()
getPeerCredential
in interface Transport
public boolean isAuthenticated()
isAuthenticated
in interface Transport
public boolean isConfidential()
isConfidential
in interface Transport
public void setAuthenticated(boolean isAuthenticated)
setAuthenticated
in interface Transport
isAuthenticated
- whether the peer is authenticatedpublic void setConfidential(boolean isConfidential)
setConfidential
in interface Transport
isConfidential
- whether the transport represents a confidential connectionpublic String getHTTPMethod()
getHTTPMethod
in interface HTTPTransport
public String getHeaderValue(String name)
getHeaderValue
in interface HTTPTransport
name
- header name
public String getParameterValue(String name)
getParameterValue
in interface HTTPTransport
name
- parameter name
public List<String> getParameterValues(String name)
getParameterValues
in interface HTTPTransport
name
- parameter name
public int getStatusCode()
getStatusCode
in interface HTTPTransport
public HTTPTransport.HTTP_VERSION getVersion()
getVersion
in interface HTTPTransport
public boolean isIntegrityProtected()
isIntegrityProtected
in interface Transport
public void setIntegrityProtected(boolean isIntegrityProtected)
setIntegrityProtected
in interface Transport
isIntegrityProtected
- whether the transport represents a connection that protects the integrity of
transported content
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |