|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.policy.manager.HttpRequestRuleContext
public class HttpRequestRuleContext
Public implementation of RuleContext representing a request. Accepted request
types are HttpServletRequest. Only one request is
maintained and retrieved per instance
NOTE: This API may only be used in the scope of an HTTP request in WebSphere Portal, i.e. within a theme.
The API can not be invoked directly by a custom servlet.
| Constructor Summary | |
|---|---|
HttpRequestRuleContext(javax.servlet.http.HttpServletRequest request)
Add a Rule context based on an HttpServletRequest. |
|
| Method Summary | |
|---|---|
java.util.Collection |
getContext()
Retrieve the collection of rules engine objects in this RuleContext. |
java.lang.String |
getId()
Retrieve a unique identifier for the session if one is available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestRuleContext(javax.servlet.http.HttpServletRequest request)
request - HttpServletRequest to be used| Method Detail |
|---|
public java.util.Collection getContext()
RuleContextAn example implementation class named FooRuleContext, contains a single attribute named foo with a value of either:
getContext in interface RuleContextpublic java.lang.String getId()
getId in interface RuleContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||