Handler, HandlerContainer, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.LifeCyclepublic class MovedContextHandler extends ContextHandler
AbstractHandler.ErrorDispatchHandlerorg.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListenerorg.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.ListenerContextHandler.AliasCheck, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.Availability, ContextHandler.Context, ContextHandler.ContextScopeListener, ContextHandler.StaticContextFAILED, RUNNING, STARTED, STARTING, STOPPED, STOPPING_scontext, DEFAULT_LISTENER_TYPE_INDEX, EXTENDED_LISTENER_TYPE_INDEX, MANAGED_ATTRIBUTES, SERVLET_LISTENER_TYPES, SERVLET_MAJOR_VERSION, SERVLET_MINOR_VERSION_handler_nextScope, _outerScope| Constructor | Description |
|---|---|
MovedContextHandler() |
|
MovedContextHandler(HandlerContainer parent,
java.lang.String contextPath,
java.lang.String newContextURL) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getExpires() |
|
java.lang.String |
getNewContextURL() |
|
boolean |
isDiscardPathInfo() |
|
boolean |
isDiscardQuery() |
|
boolean |
isPermanent() |
|
void |
setDiscardPathInfo(boolean discardPathInfo) |
|
void |
setDiscardQuery(boolean discardQuery) |
|
void |
setExpires(java.lang.String expires) |
|
void |
setNewContextURL(java.lang.String newContextURL) |
|
void |
setPermanent(boolean permanent) |
doError, dumpThis, getServerdoShutdown, expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopaddBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeansaddAliasCheck, addEventListener, addLocaleEncoding, addProgrammaticListener, addVirtualHosts, callContextDestroyed, callContextInitialized, checkAlias, checkContext, checkContextPath, checkVirtualHost, clearAliasChecks, clearAttributes, doHandle, doScope, doStart, doStop, dump, enterScope, exitScope, getAliasChecks, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getContextHandler, getContextPath, getContextPathEncoded, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLocaleEncodings, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getProtectedTargets, getResource, getResourceBase, getResourcePaths, getServerInfo, getServletContext, getVirtualHosts, getWelcomeFiles, handle, handle, isAvailable, isCompactPath, isProgrammaticListener, isProtectedTarget, isShutdown, isUsingSecurityManager, loadClass, newResource, newResource, newResource, removeAttribute, removeEventListener, removeVirtualHosts, requestDestroyed, requestInitialized, setAliasChecks, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setClassLoader, setCompactPath, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMaxFormKeys, setMimeTypes, setProtectedTargets, setResourceBase, setServer, setServerInfo, setUsingSecurityManager, setVirtualHosts, setWelcomeFiles, shutdown, startContext, stopContext, toStringdestroy, expandChildren, getHandler, getHandlers, insertHandler, setHandleraddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandle, nextHandle, nextScopepublic MovedContextHandler()
public MovedContextHandler(HandlerContainer parent, java.lang.String contextPath, java.lang.String newContextURL)
public boolean isDiscardPathInfo()
public void setDiscardPathInfo(boolean discardPathInfo)
public java.lang.String getNewContextURL()
public void setNewContextURL(java.lang.String newContextURL)
public boolean isPermanent()
public void setPermanent(boolean permanent)
public boolean isDiscardQuery()
public void setDiscardQuery(boolean discardQuery)
public java.lang.String getExpires()
public void setExpires(java.lang.String expires)
expires - the expires header value or null if no expires headerCopyright © 1995–2018 Webtide. All rights reserved.