public class MovedContextHandler extends ContextHandler
ContextHandler.AliasCheck, ContextHandler.ApproveAliases, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.ApprovePathPrefixAliases, ContextHandler.ApproveSameSuffixAliases, ContextHandler.Availability, ContextHandler.Context, ContextHandler.NoContext
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
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, checkManagedAttribute, checkVirtualHost, clearAttributes, doHandle, doScope, doStart, doStop, dump, getAliasChecks, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getContextHandler, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLocaleEncodings, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getProtectedTargets, getResource, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, handle, isAvailable, isCompactPath, isProgrammaticListener, isProtectedTarget, isShutdown, loadClass, newResource, newResource, newResource, removeAttribute, removeEventListener, removeVirtualHosts, setAliasChecks, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setClassLoader, setCompactPath, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMaxFormKeys, setMimeTypes, setProtectedTargets, setResourceBase, setServer, setVirtualHosts, setWelcomeFiles, shutdown, startContext, toString
handle, never, nextHandle, nextScope
destroy, expandChildren, getHandler, getHandlers, setHandler
expandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
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, 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-2015 Webtide. All Rights Reserved.