GWTP Dispatch Server, Guice implementation 0.7-redhat-1

com.gwtplatform.dispatch.server.guice
Class DispatchServiceImpl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by com.gwtplatform.dispatch.server.AbstractDispatchServiceImpl
                      extended by com.gwtplatform.dispatch.server.guice.DispatchServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, DispatchService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DispatchServiceImpl
extends AbstractDispatchServiceImpl

This is the server-side implementation of the DispatchService, for which the client-side async service is DispatchServiceAsync.

This class is closely related to DispatchImpl, in theory the latter wouldn't be needed, but we use it to workaround a GWT limitation described in DispatchAsync.

Author:
Christian Goudreau, David Peterson, Peter Simun
See Also:
DispatchAsync, Dispatch, DispatchImpl, DispatchService, DispatchServiceAsync, DispatchServiceImpl, Serialized Form

Field Summary
protected  String securityCookieName
           
 
Fields inherited from class com.gwtplatform.dispatch.server.AbstractDispatchServiceImpl
dispatch, logger, requestProvider
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
DispatchServiceImpl(Logger logger, Dispatch dispatch, RequestProvider requestProvider)
           
 
Method Summary
 String getSecurityCookieName()
           
 
Methods inherited from class com.gwtplatform.dispatch.server.AbstractDispatchServiceImpl
execute, undo
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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

securityCookieName

@Inject(optional=true)
protected String securityCookieName
Constructor Detail

DispatchServiceImpl

@Inject
public DispatchServiceImpl(Logger logger,
                                  Dispatch dispatch,
                                  RequestProvider requestProvider)
Method Detail

getSecurityCookieName

public String getSecurityCookieName()
Overrides:
getSecurityCookieName in class AbstractDispatchServiceImpl

GWTP Dispatch Server, Guice implementation 0.7-redhat-1

Copyright © 2010-2013 JBoss by Red Hat. All Rights Reserved.