|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestInfo
An interface representing information about a request that can be passed to a ResultFilterPlugin
for filtering out documents, folders, or entire sources.
Due to differences between requests originating from the Oracle Secure Enterprise Search default query application and from the Web Services interface, this class may store a reference to either an HttpServletRequest
object or a web services session context. To determine which type of object is stored in this RequestInfo
object, and therefore where the request originated from, test the return value from RequestInfo.getSessionContext()
or RequestInfo.getHttpRequest()
for null
.
oracle.search.sdk.security.ResultFilterPlugin
Method Summary | |
---|---|
HttpServletRequest |
getHttpRequest() Gets the HTTP servlet request handle. |
Map |
getSessionContext() Gets the session context Map object. |
Method Detail |
---|
Map getSessionContext()
Map
object. This will be set if the request originated from the Web Services interface. The session context is set by the setSessionContext
web service call. The Map
returned by this method is a set of name/value pairs representing the context of the user session.
If the request was received through the Oracle Secure Enterprise Search default query application, this method will return null
.
null
if this request originated from the default query applicationHttpServletRequest getHttpRequest()
If the request was received through Web Services, this method will return null
.
null
if this request originated from the web services interfaceHttpServletRequest
|
Oracle Secure Enterprise Search Java API Reference 11g Release 2 (11.2.1.0.0) E17597-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |