public class MovedContextHandler extends ContextHandler
ContextHandler.AliasCheck, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.Availability, ContextHandler.Context, ContextHandler.ContextScopeListener, ContextHandler.StaticContext
AbstractHandler.ErrorDispatchHandler
AbstractLifeCycle.AbstractLifeCycleListener
LifeCycle.Listener
Container.InheritedListener, Container.Listener
_scontext, DEFAULT_LISTENER_TYPE_INDEX, EXTENDED_LISTENER_TYPE_INDEX, MANAGED_ATTRIBUTES, SERVLET_LISTENER_TYPES, SERVLET_MAJOR_VERSION, SERVLET_MINOR_VERSION
_nextScope, _outerScope
_handler
FAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING
Constructor and Description |
---|
MovedContextHandler() |
MovedContextHandler(HandlerContainer parent,
String contextPath,
String newContextURL) |
Modifier and Type | Method and Description |
---|---|
String |
getExpires() |
String |
getNewContextURL() |
boolean |
isDiscardPathInfo() |
boolean |
isDiscardQuery() |
boolean |
isPermanent() |
void |
setDiscardPathInfo(boolean discardPathInfo) |
void |
setDiscardQuery(boolean discardQuery) |
void |
setExpires(String expires) |
void |
setNewContextURL(String newContextURL) |
void |
setPermanent(boolean permanent) |
addAliasCheck, 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, toString
handle, nextHandle, nextScope
destroy, expandChildren, getHandler, getHandlers, insertHandler, setHandler
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
doError, dumpThis, getServer
addBean, addBean, addBean, addEventListener, addManaged, contains, dump, dump, dump, dump, dumpBeans, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, removeEventListener, setBeans, setStopTimeout, start, stop, unmanage, updateBean, updateBean, updateBeans
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
public MovedContextHandler()
public MovedContextHandler(HandlerContainer parent, String contextPath, String newContextURL)
public boolean isDiscardPathInfo()
public void setDiscardPathInfo(boolean discardPathInfo)
public String getNewContextURL()
public void setNewContextURL(String newContextURL)
public boolean isPermanent()
public void setPermanent(boolean permanent)
public boolean isDiscardQuery()
public void setDiscardQuery(boolean discardQuery)
public String getExpires()
public void setExpires(String expires)
expires
- the expires header value or null if no expires headerCopyright © 1995–2017 Webtide. All rights reserved.