public class MovedContextHandler extends ContextHandler
| Modifier and Type | Class and Description |
|---|---|
private class |
MovedContextHandler.Redirector |
ContextHandler.AliasCheck, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.Availability, ContextHandler.Context, ContextHandler.ContextScopeListener, ContextHandler.StaticContextAbstractHandler.ErrorDispatchHandlerAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.ListenerContainer.InheritedListener, Container.Listener| Modifier and Type | Field and Description |
|---|---|
(package private) boolean |
_discardPathInfo |
(package private) boolean |
_discardQuery |
(package private) java.lang.String |
_expires |
(package private) java.lang.String |
_newContextURL |
(package private) boolean |
_permanent |
(package private) MovedContextHandler.Redirector |
_redirector |
_scontext, DEFAULT_LISTENER_TYPE_INDEX, EXTENDED_LISTENER_TYPE_INDEX, MANAGED_ATTRIBUTES, SERVLET_LISTENER_TYPES, SERVLET_MAJOR_VERSION, SERVLET_MINOR_VERSION_nextScope, _outerScope_handlerFAILED, RUNNING, STARTED, STARTING, STOP_ON_FAILURE, STOPPED, STOPPING| Constructor and Description |
|---|
MovedContextHandler() |
MovedContextHandler(HandlerContainer parent,
java.lang.String contextPath,
java.lang.String newContextURL) |
| Modifier and Type | Method and 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) |
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, toStringhandle, nextHandle, nextScopedestroy, expandChildren, getHandler, getHandlers, insertHandler, setHandlerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassdoError, dumpThis, getServeraddBean, 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, updateBeansaddLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, start, stop, stopfinal MovedContextHandler.Redirector _redirector
java.lang.String _newContextURL
boolean _discardPathInfo
boolean _discardQuery
boolean _permanent
java.lang.String _expires
public 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 header