Package spark.embeddedserver.jetty
Class JettyHandler
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.handler.ScopedHandler
org.eclipse.jetty.server.session.SessionHandler
spark.embeddedserver.jetty.JettyHandler
- All Implemented Interfaces:
org.eclipse.jetty.server.Handler,org.eclipse.jetty.server.HandlerContainer,org.eclipse.jetty.util.component.Container,org.eclipse.jetty.util.component.Destroyable,org.eclipse.jetty.util.component.Dumpable,org.eclipse.jetty.util.component.Dumpable.DumpableContainer,org.eclipse.jetty.util.component.LifeCycle
public class JettyHandler
extends org.eclipse.jetty.server.session.SessionHandler
Simple Jetty Handler
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.server.session.SessionHandler
org.eclipse.jetty.server.session.SessionHandler.CookieConfig, org.eclipse.jetty.server.session.SessionHandler.SessionIfNested classes/interfaces inherited from class org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandler.ErrorDispatchHandlerNested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
org.eclipse.jetty.util.component.LifeCycle.Listener -
Field Summary
FieldsFields inherited from class org.eclipse.jetty.server.session.SessionHandler
__CheckRemoteSessionEncoding, __DefaultSessionCookie, __DefaultSessionDomain, __DefaultSessionIdPathParameterName, __MaxAgeProperty, __SessionCookieProperty, __SessionDomainProperty, __SessionIdPathParameterNameProperty, __SessionPathProperty, _candidateSessionIdsForExpiry, _checkingRemoteSessionIdEncoding, _context, _dftMaxIdleSecs, _httpOnly, _loader, _maxCookieAge, _nodeIdInSessionId, _ownScheduler, _refreshCookieAge, _scheduler, _secureCookies, _secureRequestOnly, _sessionAttributeListeners, _sessionCache, _sessionComment, _sessionContext, _sessionCookie, _sessionDomain, _sessionIdListeners, _sessionIdManager, _sessionIdPathParameterName, _sessionIdPathParameterNamePrefix, _sessionListeners, _sessionPath, _sessionsCreatedStats, _sessionTimeStats, _sessionTrackingModes, _usingCookies, _usingURLs, DEFAULT_SESSION_TRACKING_MODES, DEFAULT_TRACKING, MAX_INACTIVE_MINUTES, SESSION_LISTENER_TYPESFields inherited from class org.eclipse.jetty.server.handler.ScopedHandler
_nextScope, _outerScopeFields inherited from class org.eclipse.jetty.server.handler.HandlerWrapper
_handlerFields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
FAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jetty.server.session.SessionHandler
access, addEventListener, callSessionCreatedListeners, callSessionDestroyedListeners, callSessionIdListeners, checkRequestedSessionId, clearEventListeners, commit, complete, complete, doScope, doSessionAttributeListeners, doStart, doStop, getDefaultSessionTrackingModes, getEffectiveSessionTrackingModes, getExtendedId, getHttpOnly, getHttpSession, getId, getMaxCookieAge, getMaxInactiveInterval, getRefreshCookieAge, getSameSite, getScheduler, getSecureCookies, getSession, getSessionCache, getSessionCookie, getSessionCookie, getSessionCookieConfig, getSessionCookieName, getSessionDomain, getSessionIdManager, getSessionIdPathParameterName, getSessionIdPathParameterNamePrefix, getSessionPath, getSessionsCreated, getSessionTimeMax, getSessionTimeMean, getSessionTimeStdDev, getSessionTimeTotal, invalidate, isCheckingRemoteSessionIdEncoding, isIdInUse, isNodeIdInSessionId, isSecureRequestOnly, isUsingCookies, isUsingURLs, isValid, newHttpSession, recordSessionTime, removeEventListener, removeSession, renewSessionId, scavenge, sessionInactivityTimerExpired, sessionInactivityTimerExpired, setCheckingRemoteSessionIdEncoding, setHttpOnly, setMaxInactiveInterval, setNodeIdInSessionId, setRefreshCookieAge, setSameSite, setSecureRequestOnly, setSessionCache, setSessionCookie, setSessionIdManager, setSessionIdPathParameterName, setSessionTrackingModes, setUsingCookies, shutdownSessions, statsReset, toStringMethods inherited from class org.eclipse.jetty.server.handler.ScopedHandler
handle, nextHandle, nextScopeMethods inherited from class org.eclipse.jetty.server.handler.HandlerWrapper
destroy, expandChildren, getHandler, getHandlers, insertHandler, setHandlerMethods inherited from class org.eclipse.jetty.server.handler.AbstractHandlerContainer
doShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass, setServerMethods inherited from class org.eclipse.jetty.server.handler.AbstractHandler
doError, getServerMethods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dump, dumpBeans, dumpObject, dumpObjects, dumpStdErr, dumpThis, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansMethods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dumpSelfMethods inherited from interface org.eclipse.jetty.util.component.Dumpable.DumpableContainer
isDumpableMethods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
Field Details
-
filter
private javax.servlet.Filter filter
-
-
Constructor Details
-
JettyHandler
public JettyHandler(javax.servlet.Filter filter)
-
-
Method Details
-
doHandle
public void doHandle(String target, org.eclipse.jetty.server.Request baseRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException - Overrides:
doHandlein classorg.eclipse.jetty.server.session.SessionHandler- Throws:
IOExceptionjavax.servlet.ServletException
-