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.OutTransport
public void setAttribute(String arg0, Object arg1)
setAttribute
in interface org.opensaml.ws.transport.OutTransport
public void setCharacterEncoding(String arg0)
setCharacterEncoding
in interface org.opensaml.ws.transport.OutTransport
public Object getAttribute(String arg0)
getAttribute
in interface org.opensaml.ws.transport.Transport
public String getCharacterEncoding()
getCharacterEncoding
in interface org.opensaml.ws.transport.Transport
public org.opensaml.xml.security.credential.Credential getLocalCredential()
getLocalCredential
in interface org.opensaml.ws.transport.Transport
public org.opensaml.xml.security.credential.Credential getPeerCredential()
getPeerCredential
in interface org.opensaml.ws.transport.Transport
public boolean isAuthenticated()
isAuthenticated
in interface org.opensaml.ws.transport.Transport
public boolean isConfidential()
isConfidential
in interface org.opensaml.ws.transport.Transport
public boolean isIntegrityProtected()
isIntegrityProtected
in interface org.opensaml.ws.transport.Transport
public void setAuthenticated(boolean arg0)
setAuthenticated
in interface org.opensaml.ws.transport.Transport
public void setConfidential(boolean arg0)
setConfidential
in interface org.opensaml.ws.transport.Transport
public void setIntegrityProtected(boolean arg0)
setIntegrityProtected
in interface org.opensaml.ws.transport.Transport
public String getHTTPMethod()
getHTTPMethod
in interface org.opensaml.ws.transport.http.HTTPTransport
public String getHeaderValue(String arg0)
getHeaderValue
in interface org.opensaml.ws.transport.http.HTTPTransport
public String getParameterValue(String arg0)
getParameterValue
in interface org.opensaml.ws.transport.http.HTTPTransport
public List<String> getParameterValues(String arg0)
getParameterValues
in interface org.opensaml.ws.transport.http.HTTPTransport
public int getStatusCode()
getStatusCode
in interface org.opensaml.ws.transport.http.HTTPTransport
public org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION getVersion()
getVersion
in interface org.opensaml.ws.transport.http.HTTPTransport
public void addParameter(String arg0, String arg1)
addParameter
in interface org.opensaml.ws.transport.http.HTTPOutTransport
public void sendRedirect(String redirectUrl)
sendRedirect
in interface org.opensaml.ws.transport.http.HTTPOutTransport
public void setHeader(String arg0, String arg1)
setHeader
in interface org.opensaml.ws.transport.http.HTTPOutTransport
public void setStatusCode(int arg0)
setStatusCode
in interface org.opensaml.ws.transport.http.HTTPOutTransport
public void setVersion(org.opensaml.ws.transport.http.HTTPTransport.HTTP_VERSION arg0)
setVersion
in interface org.opensaml.ws.transport.http.HTTPOutTransport
public String getRedirectUrl()
Copyright © 2014. All rights reserved.