public abstract class DisableJSessionIDinUrlApplication extends BaseWebApplication
WebApplication.newWebResponse(WebRequest, HttpServletResponse) that checks
if a request comes from a robot and if this is the case it removes the sessiod id from the
response object. If you cant extends this class just override the method
WebApplication.newWebResponse(WebRequest, HttpServletResponse) into your
Application class, this will have the same effect.DEFAULT_HTTP_PORT, DEFAULT_HTTPS_PORT, LOGGER| Constructor and Description |
|---|
DisableJSessionIDinUrlApplication() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.wicket.request.http.WebResponse |
newWebResponse(org.apache.wicket.request.http.WebRequest webRequest,
HttpServletResponse httpServletResponse)
Disable sessionId in the url if it comes from a robot.
|
getUptime, init, mountPage, newApplicationDataStore, newHttpPort, newHttpsPort, onApplicationConfigurations, onBeforeApplicationConfigurations, onDeploymentModeSettings, onDevelopmentModeSettings, onGlobalSettings, onSecuritySettingsPluginaddResourceReplacement, addResourceReplacement, get, getAjaxRequestTargetListeners, getAjaxRequestTargetProvider, getAndRemoveBufferedResponse, getApplicationKey, getConfigurationType, getFilterFactoryManager, getInitParameter, getMimeType, getServletContext, getSessionAttributePrefix, getUpdateAutoLabelsOnAjaxRequests, getWicketFilter, hasBufferedResponse, hasFilterFactoryManager, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mountPackage, mountPage, mountResource, newAjaxRequestTarget, newSession, newWebRequest, outputDevelopmentModeWarning, renderXmlDecl, sessionUnbound, setAjaxRequestTargetProvider, setConfigurationType, setServletContext, setWicketFilter, storeBufferedResponse, unmountconfigure, createRequestCycle, decorateHeaderResponse, exists, fetchCreateAndSetSession, get, getApplicationKeys, getApplicationListeners, getApplicationSettings, getBehaviorInstantiationListeners, getComponentInitializationListeners, getComponentInstantiationListeners, getComponentOnAfterRenderListeners, getComponentOnConfigureListeners, getComponentPostOnBeforeRenderListeners, getComponentPreOnBeforeRenderListeners, getConverterLocator, getDebugSettings, getExceptionMapperProvider, getExceptionSettings, getFrameworkSettings, getHeaderContributorListenerCollection, getHomePage, getInitializers, getJavaScriptLibrarySettings, getMapperContext, getMarkupIdGenerator, getMarkupSettings, getMetaData, getName, getPageFactory, getPageManagerContext, getPageManagerProvider, getPageRendererProvider, getPageSettings, getRequestCycleListeners, getRequestCycleProvider, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceBundles, getResourceReferenceRegistry, getResourceSettings, getRootRequestMapper, getRootRequestMapperAsCompound, getSecuritySettings, getSessionListeners, getSessionStore, getSessionStoreProvider, getSharedResources, getStoreSettings, initApplication, initializeComponents, newConverterLocator, newMapperContext, newPageFactory, newRequestLogger, newResourceBundles, newResourceReferenceRegistry, newSharedResources, onDestroy, onEvent, setApplicationSettings, setDebugSettings, setExceptionSettings, setFrameworkSettings, setHeaderResponseDecorator, setJavaScriptLibrarySettings, setMarkupIdGenerator, setMarkupSettings, setMetaData, setName, setPageManagerProvider, setPageRendererProvider, setPageSettings, setRequestCycleProvider, setRequestCycleSettings, setRequestLoggerSettings, setResourceSettings, setRootRequestMapper, setSecuritySettings, setSessionStoreProvider, setStoreSettings, usesDeploymentConfig, usesDevelopmentConfig, validateInitprotected org.apache.wicket.request.http.WebResponse newWebResponse(org.apache.wicket.request.http.WebRequest webRequest,
HttpServletResponse httpServletResponse)
newWebResponse in class org.apache.wicket.protocol.http.WebApplicationwebRequest - the web requesthttpServletResponse - the http servlet responseCopyright © 2010–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.