Package org.pac4j.saml.transport
Interface Pac4jSAMLResponse
-
- All Known Implementing Classes:
DefaultPac4jSAMLResponse
public interface Pac4jSAMLResponseIndicates the SAML response that will be written to the actual backend response via a given SAML encoder.- Since:
- 1.8
- Author:
- Misagh Moayyed
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetOutgoingContent()Gets outgoing content.java.io.OutputStreamWritergetOutputStreamWriter()Gets output stream writer.java.lang.StringgetRedirectUrl()Gets redirect url.org.pac4j.core.context.WebContextgetWebContext()Gets web context.voidinit()Initialize the response handling.voidsetContentType(java.lang.String type)Sets content type.voidsetRedirectUrl(java.lang.String url)Sets redirect url.
-
-
-
Method Detail
-
getWebContext
org.pac4j.core.context.WebContext getWebContext()
Gets web context.- Returns:
- the web context
-
init
void init()
Initialize the response handling.
-
getOutputStreamWriter
java.io.OutputStreamWriter getOutputStreamWriter()
Gets output stream writer.- Returns:
- the output stream writer
-
getOutgoingContent
java.lang.String getOutgoingContent()
Gets outgoing content.- Returns:
- the outgoing content
-
setRedirectUrl
void setRedirectUrl(java.lang.String url)
Sets redirect url.- Parameters:
url- the url
-
getRedirectUrl
java.lang.String getRedirectUrl()
Gets redirect url.- Returns:
- the redirect url
-
setContentType
void setContentType(java.lang.String type)
Sets content type.- Parameters:
type- the type
-
-