|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.jps.service.sso.dispatcher.AbstractResponseDispatcher
public abstract class AbstractResponseDispatcher
This abstract class sends a HttpServletResponse
that can contain SSO provider specific status code, headers or cookies to initiate a particular SSO flow.
<p/> Note that concrete class implementation of this class is not required to be synchronized. If multiple threads access an instance of such a concrete class concurrently, and at least one of the threads modifies the dispatcher structurally, it must be synchronized externally.
Field Summary | |
---|---|
static java.lang.String |
UTF_8 UTF_8 encoding. |
Constructor Summary | |
---|---|
AbstractResponseDispatcher(javax.servlet.http.HttpServletResponse response) Constructor. |
Method Summary | |
---|---|
void |
addCookie(javax.servlet.http.Cookie cookie) This method calls HttpServletResponse.addCookie() to add the specified cookie to the response. |
void |
addHeader(java.lang.String name, java.lang.String value) This method calls HttpServletResponse.addHeader() to add a response header with the given name and value to the response. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.security.jps.service.sso.ResponseDispatcher |
---|
dispatch |
Field Detail |
---|
public static final java.lang.String UTF_8
Constructor Detail |
---|
public AbstractResponseDispatcher(javax.servlet.http.HttpServletResponse response)
response
- the response associated with the HttpServletRequest
that requires a particular SSO process to be performedMethod Detail |
---|
public void addCookie(javax.servlet.http.Cookie cookie)
HttpServletResponse.addCookie()
to add the specified cookie to the response. Adds the specified cookie to the response.addCookie
in interface ResponseDispatcher
cookie
- the Cookie to be addedpublic void addHeader(java.lang.String name, java.lang.String value)
HttpServletResponse.addHeader()
to add a response header with the given name and value to the response. Adds a response header with the given name and value.addHeader
in interface ResponseDispatcher
name
- the name of the headervalue
- the value of the header
|
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |