|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.common.binding.encoding.impl.AbstractMessageEncoder<javax.servlet.http.HttpServletResponse>
org.opensaml.common.binding.encoding.impl.AbstractHTTPMessageEncoder
public abstract class AbstractHTTPMessageEncoder
Base class handling boilerplate code for HTTP message encoders.
Constructor Summary | |
---|---|
AbstractHTTPMessageEncoder()
|
Method Summary | |
---|---|
protected java.lang.String |
getBase64EncodedMessage()
Gets the SAML message as a base64, no line break, string. |
protected java.lang.String |
getEncodeRelayState()
Gets the relay state in a URL-encoded form. |
java.lang.String |
getRelayState()
Gets the relay state. |
protected void |
initializeResponse()
Adds cache control and pragma headers that are meant to disable caching. |
void |
setRelayState(java.lang.String state)
Sets the relay state. |
Methods inherited from class org.opensaml.common.binding.encoding.impl.AbstractMessageEncoder |
---|
getIssuer, getMetadataProvider, getRelyingParty, getRelyingPartyEndpoint, getRelyingPartyRole, getResponse, getSamlMessage, getSigningCredential, marshallMessage, setIssuer, setMetadataProvider, setRelyingParty, setRelyingPartyEndpoint, setRelyingPartyRole, setResponse, setSamlMessage, setSigningCredential |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.common.binding.encoding.MessageEncoder |
---|
encode, getBindingURI, getIssuer, getMetadataProvider, getRelyingParty, getRelyingPartyEndpoint, getRelyingPartyRole, getResponse, getSamlMessage, getSigningCredential, setIssuer, setMetadataProvider, setRelyingParty, setRelyingPartyEndpoint, setRelyingPartyRole, setResponse, setSamlMessage, setSigningCredential |
Constructor Detail |
---|
public AbstractHTTPMessageEncoder()
Method Detail |
---|
public java.lang.String getRelayState()
getRelayState
in interface HTTPMessageEncoder
public void setRelayState(java.lang.String state)
setRelayState
in interface HTTPMessageEncoder
state
- the relay stateprotected void initializeResponse()
protected java.lang.String getEncodeRelayState() throws BindingException
BindingException
- thrown if there is a problem encoding the relay stateprotected java.lang.String getBase64EncodedMessage() throws BindingException
BindingException
- thrown if there is a problem encoding the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |