| javax.servlet.http.HttpServlet nextapp.echo2.webrender.WebRenderServlet
All known Subclasses: nextapp.echo2.webcontainer.WebContainerServlet, nextapp.echo2.testapp.webrender.WebRenderTestServlet,
WebRenderServlet | abstract public class WebRenderServlet extends HttpServlet (Code) | | Echo HttpServlet implementation.
|
Inner Class :public static interface MultipartRequestWrapper | |
Field Summary | |
final public static boolean | DISABLE_CACHING A flag indicating whether caching should be disabled for all services. | final public static String | SERVICE_ID_DEFAULT Service identifier of the 'default' service. | final public static String | SERVICE_ID_NEW_INSTANCE Service identifier of the 'new instance' service. | final public static String | SERVICE_ID_PARAMETER Request parameter identifying requested Service . | final public static String | SERVICE_ID_SESSION_EXPIRED Service identifier of the 'session expired' service.
The 'session expired' service is rendered when a client makes a
request that has an identifier and is intended for an active session,
but no session exists. |
DISABLE_CACHING | final public static boolean DISABLE_CACHING(Code) | | A flag indicating whether caching should be disabled for all services.
This flag is for testing purposes only, and should be disabled for
production use.
|
SERVICE_ID_DEFAULT | final public static String SERVICE_ID_DEFAULT(Code) | | Service identifier of the 'default' service.
The 'default' service is rendered when a client makes a request
without a service identifier and a session DOES exist.
|
SERVICE_ID_NEW_INSTANCE | final public static String SERVICE_ID_NEW_INSTANCE(Code) | | Service identifier of the 'new instance' service.
The 'new instance' service is rendered when a client makes a request
without a service identifier and a session DOES NOT exist..
|
SERVICE_ID_PARAMETER | final public static String SERVICE_ID_PARAMETER(Code) | | Request parameter identifying requested Service .
|
SERVICE_ID_SESSION_EXPIRED | final public static String SERVICE_ID_SESSION_EXPIRED(Code) | | Service identifier of the 'session expired' service.
The 'session expired' service is rendered when a client makes a
request that has an identifier and is intended for an active session,
but no session exists.
|
getActiveConnection | final public static Connection getActiveConnection()(Code) | | Returns a reference to the Connection that is
relevant to the current thread, or null if no connection is relevant.
the relevant Connection |
getMultipartRequestWrapper | public static MultipartRequestWrapper getMultipartRequestWrapper()(Code) | | Returns the multipart/form-data encoded HTTP request handler.
The multipart/form-data encoded HTTP request handler. See Also: WebRenderServlet.setMultipartRequestWrapper |
getServiceRegistry | public static ServiceRegistry getServiceRegistry()(Code) | | Retrieves the global ServiceRegistry .
The global ServiceRegistry . |
setMultipartRequestWrapper | final public static void setMultipartRequestWrapper(MultipartRequestWrapper multipartRequestWrapper)(Code) | | Sets the multipart/form-data encoded HTTP request handler.
The multipart request wrapper can only be set one time. It should be set
in a static block of your Echo application. This method will disregard
additional attempts to set the wrapper if the provided wrapper's class
is identical to the existing one. If the wrapper is already set and the
new wrapper object's class is different or the wrapper is null, an
exception is thrown.
Parameters: multipartRequestWrapper - The handler for multipart/form-data encoded HTTP requests. throws: IllegalStateException - if the application attempts to changea previously set multipart request handler. |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|