@ThreadSafe public class AjaxXServletHandler extends Object implements com.helger.xservlet.handler.simple.IXServletSimpleHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_PARAM_JQUERY_NO_CACHE
The name of the request parameter used by jQuery to indicate "no cache".
|
| Constructor and Description |
|---|
AjaxXServletHandler() |
AjaxXServletHandler(com.helger.commons.functional.ISupplier<? extends IAjaxRegistry> aRegistryFactory,
com.helger.commons.functional.ISupplier<? extends IAjaxInvoker> aInvokerFactory) |
| Modifier and Type | Method and Description |
|---|---|
com.helger.photon.app.PhotonUnifiedResponse |
createUnifiedResponse(com.helger.http.EHttpVersion eHttpVersion,
com.helger.commons.http.EHttpMethod eHttpMethod,
javax.servlet.http.HttpServletRequest aHttpRequest,
com.helger.web.scope.IRequestWebScope aRequestScope) |
void |
handleRequest(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.servlet.response.UnifiedResponse aUnifiedResponse) |
com.helger.commons.state.EContinue |
initRequestState(com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope,
com.helger.servlet.response.UnifiedResponse aUnifiedResponse) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String REQUEST_PARAM_JQUERY_NO_CACHE
public AjaxXServletHandler()
public AjaxXServletHandler(@Nonnull com.helger.commons.functional.ISupplier<? extends IAjaxRegistry> aRegistryFactory, @Nonnull com.helger.commons.functional.ISupplier<? extends IAjaxInvoker> aInvokerFactory)
@Nonnull public com.helger.photon.app.PhotonUnifiedResponse createUnifiedResponse(@Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod, @Nonnull javax.servlet.http.HttpServletRequest aHttpRequest, @Nonnull com.helger.web.scope.IRequestWebScope aRequestScope)
createUnifiedResponse in interface com.helger.xservlet.handler.simple.IXServletSimpleHandler@OverrideOnDemand @OverridingMethodsMustInvokeSuper public com.helger.commons.state.EContinue initRequestState(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.servlet.response.UnifiedResponse aUnifiedResponse)
initRequestState in interface com.helger.xservlet.handler.simple.IXServletSimpleHandlerpublic void handleRequest(@Nonnull com.helger.web.scope.IRequestWebScopeWithoutResponse aRequestScope, @Nonnull com.helger.servlet.response.UnifiedResponse aUnifiedResponse) throws javax.servlet.ServletException, IOException
handleRequest in interface com.helger.xservlet.handler.simple.IXServletSimpleHandlerjavax.servlet.ServletExceptionIOExceptionCopyright © 2014–2019 Philip Helger. All rights reserved.