org.orbeon.oxf.pipeline.api
Interface ExternalContext

All Superinterfaces:
WebAppExternalContext

public interface ExternalContext
extends WebAppExternalContext

ExternalContext abstracts context, request and response information so that compile-time dependencies on the Servlet API or Portlet API can be removed. It is also possible to use ExternalContext to embed PresentationServer and to provide a web-like request/response interface.


Nested Class Summary
static interface ExternalContext.Request
           
static interface ExternalContext.RequestDispatcher
           
static interface ExternalContext.Response
           
static interface ExternalContext.Session
           
 
Field Summary
static int SC_INTERNAL_SERVER_ERROR
           
static int SC_NOT_FOUND
           
static int SC_NOT_MODIFIED
           
static int SC_OK
           
 
Method Summary
 String getEndLoggerString()
           
 ExternalContext.RequestDispatcher getNamedDispatcher(String name)
           
 Object getNativeRequest()
           
 Object getNativeResponse()
           
 Object getNativeSession(boolean flag)
           
 ExternalContext.Request getRequest()
           
 ExternalContext.RequestDispatcher getRequestDispatcher(String path)
           
 ExternalContext.Response getResponse()
           
 ExternalContext.Session getSession(boolean create)
           
 String getStartLoggerString()
           
 
Methods inherited from interface org.orbeon.oxf.pipeline.api.WebAppExternalContext
getAttributesMap, getInitAttributesMap, getNativeContext, getRealPath, log, log
 

Field Detail

SC_OK

public static final int SC_OK
See Also:
Constant Field Values

SC_NOT_FOUND

public static final int SC_NOT_FOUND
See Also:
Constant Field Values

SC_NOT_MODIFIED

public static final int SC_NOT_MODIFIED
See Also:
Constant Field Values

SC_INTERNAL_SERVER_ERROR

public static final int SC_INTERNAL_SERVER_ERROR
See Also:
Constant Field Values
Method Detail

getNativeRequest

public Object getNativeRequest()

getNativeResponse

public Object getNativeResponse()

getNativeSession

public Object getNativeSession(boolean flag)

getRequestDispatcher

public ExternalContext.RequestDispatcher getRequestDispatcher(String path)

getNamedDispatcher

public ExternalContext.RequestDispatcher getNamedDispatcher(String name)

getRequest

public ExternalContext.Request getRequest()

getResponse

public ExternalContext.Response getResponse()

getSession

public ExternalContext.Session getSession(boolean create)

getStartLoggerString

public String getStartLoggerString()

getEndLoggerString

public String getEndLoggerString()