org.pentaho.platform.api.engine
Interface IPentahoRequestContext

All Known Implementing Classes:
BasePentahoRequestContext

public interface IPentahoRequestContext

Manages Pentaho Request Context

For now the only information stored in the IPentahoRequestContext is teh context path. In future more information can be added to this


Method Summary
 String getContextPath()
          Returns the portion of the request URI that indicates the context of the request.
 

Method Detail

getContextPath

String getContextPath()
Returns the portion of the request URI that indicates the context of the request. The context path always comes first in a request URI. The path starts with a "/" character and end with a "/" character. For servlets in the default (root) context, this method returns "/". The container does not decode this string. It is possible that a servlet container may match a context by more than one context path. In such cases this method will return the actual context path used by the request