public class SimpleResponseAdapter extends Object implements org.opensaml.ws.transport.http.HTTPOutTransport
ByteArrayOutputStream in order opensaml can write
the saml messages. The content can be retrieved as a String from getOutgoingContent().| Constructor and Description |
|---|
SimpleResponseAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParameter(String arg0,
String arg1) |
Object |
getAttribute(String arg0) |
String |
getCharacterEncoding() |
String |
getHeaderValue(String arg0) |
String |
getHTTPMethod() |
org.opensaml.xml.security.credential.Credential |
getLocalCredential() |
String |
getOutgoingContent() |
OutputStream |
getOutgoingStream() |
String |
getParameterValue(String arg0) |
List<String> |
getParameterValues(String arg0) |
org.opensaml.xml.security.credential.Credential |
getPeerCredential() |
String |
getRedirectUrl() |
int |
getStatusCode() |
org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION |
getVersion() |
boolean |
isAuthenticated() |
boolean |
isConfidential() |
boolean |
isIntegrityProtected() |
void |
sendRedirect(String redirectUrl) |
void |
setAttribute(String arg0,
Object arg1) |
void |
setAuthenticated(boolean arg0) |
void |
setCharacterEncoding(String arg0) |
void |
setConfidential(boolean arg0) |
void |
setHeader(String arg0,
String arg1) |
void |
setIntegrityProtected(boolean arg0) |
void |
setStatusCode(int arg0) |
void |
setVersion(org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION arg0) |
public String getOutgoingContent()
public OutputStream getOutgoingStream()
getOutgoingStream in interface org.opensaml.ws.transport.OutTransportpublic void setAttribute(String arg0, Object arg1)
setAttribute in interface org.opensaml.ws.transport.OutTransportpublic void setCharacterEncoding(String arg0)
setCharacterEncoding in interface org.opensaml.ws.transport.OutTransportpublic Object getAttribute(String arg0)
getAttribute in interface org.opensaml.ws.transport.Transportpublic String getCharacterEncoding()
getCharacterEncoding in interface org.opensaml.ws.transport.Transportpublic org.opensaml.xml.security.credential.Credential getLocalCredential()
getLocalCredential in interface org.opensaml.ws.transport.Transportpublic org.opensaml.xml.security.credential.Credential getPeerCredential()
getPeerCredential in interface org.opensaml.ws.transport.Transportpublic boolean isAuthenticated()
isAuthenticated in interface org.opensaml.ws.transport.Transportpublic boolean isConfidential()
isConfidential in interface org.opensaml.ws.transport.Transportpublic boolean isIntegrityProtected()
isIntegrityProtected in interface org.opensaml.ws.transport.Transportpublic void setAuthenticated(boolean arg0)
setAuthenticated in interface org.opensaml.ws.transport.Transportpublic void setConfidential(boolean arg0)
setConfidential in interface org.opensaml.ws.transport.Transportpublic void setIntegrityProtected(boolean arg0)
setIntegrityProtected in interface org.opensaml.ws.transport.Transportpublic String getHTTPMethod()
getHTTPMethod in interface org.opensaml.ws.transport.http.HTTPTransportpublic String getHeaderValue(String arg0)
getHeaderValue in interface org.opensaml.ws.transport.http.HTTPTransportpublic String getParameterValue(String arg0)
getParameterValue in interface org.opensaml.ws.transport.http.HTTPTransportpublic List<String> getParameterValues(String arg0)
getParameterValues in interface org.opensaml.ws.transport.http.HTTPTransportpublic int getStatusCode()
getStatusCode in interface org.opensaml.ws.transport.http.HTTPTransportpublic org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION getVersion()
getVersion in interface org.opensaml.ws.transport.http.HTTPTransportpublic void addParameter(String arg0, String arg1)
addParameter in interface org.opensaml.ws.transport.http.HTTPOutTransportpublic void sendRedirect(String redirectUrl)
sendRedirect in interface org.opensaml.ws.transport.http.HTTPOutTransportpublic void setHeader(String arg0, String arg1)
setHeader in interface org.opensaml.ws.transport.http.HTTPOutTransportpublic void setStatusCode(int arg0)
setStatusCode in interface org.opensaml.ws.transport.http.HTTPOutTransportpublic void setVersion(org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION arg0)
setVersion in interface org.opensaml.ws.transport.http.HTTPOutTransportpublic String getRedirectUrl()
Copyright © 2014. All rights reserved.