Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


oracle.search.query.qta
Interface RequestInfo


public interface RequestInfo

An interface representing information about a request that can be passed to a QueryTimeFilter 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 references to an HttpServletRequest object and/or a web services session context.

See Also:
QueryTimeFilter

Method Summary
 HttpServletRequest getHttpRequest()
          Gets the HTTP servlet request handle.
 Map getSessionContext()
          Gets the session context Map object.

 

Method Detail

getSessionContext

Map getSessionContext()
Gets the session context 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.

Returns:
the session context, or null if this request originated from the default query application

getHttpRequest

HttpServletRequest getHttpRequest()
Gets the HTTP servlet request handle. This will be set if the request originated from the Oracle Secure Enterprise Search default query application and may be set if the request originated from the Web Services interface.

Note: If a federated query request is received through the Web Services interface, the HttpServletRequest object may not contain the information originally sent by a user's browser. For example, the federation mechanism currently does not propagate all cookies provided by the originating browser client.

Returns:
the HTTP request handle, or null if the HTTP servlet request information could not be obtained
See Also:
HttpServletRequest

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved.