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 StringgetOutgoingContent()Gets outgoing content.OutputStreamWritergetOutputStreamWriter()Gets output stream writer.StringgetRedirectUrl()Gets redirect url.WebContextgetWebContext()Gets web context.voidinit()Initialize the response handling.voidsetContentType(String type)Sets content type.voidsetRedirectUrl(String url)Sets redirect url.
-
-
-
Method Detail
-
getWebContext
WebContext getWebContext()
Gets web context.- Returns:
- the web context
-
init
void init()
Initialize the response handling.
-
getOutputStreamWriter
OutputStreamWriter getOutputStreamWriter()
Gets output stream writer.- Returns:
- the output stream writer
-
getOutgoingContent
String getOutgoingContent()
Gets outgoing content.- Returns:
- the outgoing content
-
setRedirectUrl
void setRedirectUrl(String url)
Sets redirect url.- Parameters:
url- the url
-
getRedirectUrl
String getRedirectUrl()
Gets redirect url.- Returns:
- the redirect url
-
setContentType
void setContentType(String type)
Sets content type.- Parameters:
type- the type
-
-