|
NextApp Echo2 v2.1.0.rc2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nextapp.echo2.webrender.WebRenderServlet
public abstract class WebRenderServlet
Echo HttpServlet implementation.
| Nested Class Summary | |
|---|---|
static interface |
WebRenderServlet.MultipartRequestWrapper
An interface implemented by a supporting object that will handle multipart/form-data encoded HTTP requests. |
| Field Summary | |
|---|---|
static boolean |
DISABLE_CACHING
A flag indicating whether caching should be disabled for all services. |
static String |
SERVICE_ID_DEFAULT
Service identifier of the 'default' service. |
static String |
SERVICE_ID_NEW_INSTANCE
Service identifier of the 'new instance' service. |
static String |
SERVICE_ID_PARAMETER
Request parameter identifying requested Service. |
static String |
SERVICE_ID_SESSION_EXPIRED
Service identifier of the 'session expired' service. |
| Constructor Summary | |
|---|---|
WebRenderServlet()
|
|
| Method Summary | |
|---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Handles a GET request. |
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Handles a POST request. |
static Connection |
getActiveConnection()
Returns a reference to the Connection that is
relevant to the current thread, or null if no connection is relevant. |
static WebRenderServlet.MultipartRequestWrapper |
getMultipartRequestWrapper()
Returns the multipart/form-data encoded HTTP request handler. |
static ServiceRegistry |
getServiceRegistry()
Retrieves the global ServiceRegistry. |
protected void |
process(HttpServletRequest request,
HttpServletResponse response)
Processes a HTTP request and generates a response. |
static void |
setMultipartRequestWrapper(WebRenderServlet.MultipartRequestWrapper multipartRequestWrapper)
Sets the multipart/form-data encoded HTTP request handler. |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final boolean DISABLE_CACHING
public static final String SERVICE_ID_PARAMETER
Service.
public static final String SERVICE_ID_DEFAULT
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.
public static final String SERVICE_ID_NEW_INSTANCE
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..
public static final 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.
| Constructor Detail |
|---|
public WebRenderServlet()
| Method Detail |
|---|
public static final Connection getActiveConnection()
Connection that is
relevant to the current thread, or null if no connection is relevant.
Connectionpublic static WebRenderServlet.MultipartRequestWrapper getMultipartRequestWrapper()
setMultipartRequestWrapper(nextapp.echo2.webrender.WebRenderServlet.MultipartRequestWrapper)public static final void setMultipartRequestWrapper(WebRenderServlet.MultipartRequestWrapper multipartRequestWrapper)
multipartRequestWrapper - The handler for multipart/form-data
encoded HTTP requests.
IllegalStateException - if the application attempts to change
a previously set multipart request handler.
public final void doGet(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
doGet in class HttpServletIOException
ServletExceptionprocess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public final void doPost(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
doPost in class HttpServletIOException
ServletExceptionprocess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)public static ServiceRegistry getServiceRegistry()
ServiceRegistry.
ServiceRegistry.
protected void process(HttpServletRequest request,
HttpServletResponse response)
throws IOException,
ServletException
request - the incoming HttpServletRequestresponse - the outgoing HttpServletResponse
IOException
ServletException
|
NextApp Echo2 v2.1.0.rc2 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||