|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextAccessor
Provides information about the current context (e.g. request) that a
PocService
operates in.
Method Summary | |
---|---|
java.lang.String |
getDigest()
Returns a string that represents a hash over the request headers that might influence the responses (independent of the request URL). |
java.lang.String |
getDigest(DataSource dataSource)
Returns the digest for the given data source. |
Dispatcher |
getDispatcher()
Returns a dispatcher for the current context that can be used to dispatch to a servlet or a JSP |
java.lang.String |
getNonce()
Returns a nonce for the current request |
javax.ccpp.Profile |
getProfile()
Returns the CCPP profile of the current scope |
StateManagerService |
getStateManagerService()
Provides access to the StateManagerService in the context of the
POC service. |
boolean |
isProtected()
Checks if there is either a WAS security context or a portal security context. |
boolean |
isSecure()
Checks wether the call was made via a secure channel |
Method Detail |
---|
java.lang.String getDigest()
getDigest
in interface DigestProvider
null
if the
digest could not be computedjava.lang.String getDigest(DataSource dataSource)
dataSource
- the data source, not null
.
null
if it could not be computedDispatcher getDispatcher()
null
java.lang.String getNonce()
null
javax.ccpp.Profile getProfile()
Profile
not null
StateManagerService getStateManagerService()
StateManagerService
in the context of the
POC service. The resulting service is valid as long as the POC service is
valid and should NOT be disposed.
null
boolean isProtected()
true
if there exists such a context, else
false
boolean isSecure()
true
if the call was made via such a channel, else
false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |