|
||||||||||
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
org.restlet.ext.servlet.ServerServlet
org.restlet.ext.gwt.GwtShellServletWrapper
@Deprecated public class GwtShellServletWrapper
Servlet to Restlet adapter aware of GWT requests. To allow Restlet to handle all non-module requests under the hosted mode of Google Web Toolkit, this wrapper can be used in place of the GWTShellServlet supplied with Google Web Toolkit.
As GWTShellServlet expects, add a context parameter called "module" that specifies the fully qualified name of a GWT module. Requests directed to the module will be forwarded to GWTShellServlet; Restlet will handle all other requests.
Because this wrapper extends Restlet's ServerServlet, it also supports the parameters for component and application initialization described in the ServerServlet Javadocs.
ServerServlet
,
Serialized FormConstructor Summary | |
---|---|
GwtShellServletWrapper()
Deprecated. Default constructor. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. |
void |
init()
Deprecated. |
void |
service(HttpServletRequest request,
HttpServletResponse response)
Deprecated. Services a HTTP Servlet request as an uniform call. |
Methods inherited from class org.restlet.ext.servlet.ServerServlet |
---|
createApplication, createCall, createComponent, createServer, createWarClient, getApplication, getComponent, getContextPath, getInitParameter, getLocalAddr, getLocalPort, getServer, init, init, loadClass |
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GwtShellServletWrapper()
Method Detail |
---|
public void destroy()
destroy
in interface Servlet
destroy
in class ServerServlet
public void init() throws ServletException
init
in class ServerServlet
ServletException
public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
ServerServlet
service
in class ServerServlet
request
- The HTTP Servlet request.response
- The HTTP Servlet response.
ServletException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |