com.ibm.policy.manager
Class HttpRequestRuleContext

java.lang.Object
  extended by com.ibm.policy.manager.HttpRequestRuleContext

public class HttpRequestRuleContext
extends java.lang.Object

Public implementation of RuleContext representing a request. Accepted request types are HttpServletRequest. Only one request is maintained and retrieved per instance

Since:
6.0

Constructor Summary
HttpRequestRuleContext(HttpServletRequest request)
          Add a Rule context based on an HttpServletRequest.
 
Method Summary
 java.util.Collection getContext()
           
 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

HttpRequestRuleContext

public HttpRequestRuleContext(HttpServletRequest request)
Add a Rule context based on an HttpServletRequest.

Parameters:
request - HttpServletRequest to be used
Method Detail

getContext

public java.util.Collection getContext()
Returns:
Collection of rule objects to be used in the execution of a rule. Objects of the collection are of type HttpServletRequest.

getId

public java.lang.String getId()
Retrieve a unique identifier for the session if one is available. Return null if not available.