Package org.pac4j.saml.transport
Interface Pac4jSAMLResponse
- All Known Implementing Classes:
DefaultPac4jSAMLResponse
public interface Pac4jSAMLResponse
Indicates 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
Modifier and TypeMethodDescriptionGets outgoing content.Gets output stream writer.Gets redirect url.org.pac4j.core.context.WebContext
Gets web context.void
init()
Initialize the response handling.void
setContentType
(String type) Sets content type.void
setRedirectUrl
(String url) Sets redirect url.
-
Method Details
-
getWebContext
org.pac4j.core.context.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
Sets redirect url.- Parameters:
url
- the url
-
getRedirectUrl
String getRedirectUrl()Gets redirect url.- Returns:
- the redirect url
-
setContentType
Sets content type.- Parameters:
type
- the type
-