public class MovedContextHandler extends ContextHandler
ContextHandler.AliasCheck, ContextHandler.ApproveNonExistentDirectoryAliases, ContextHandler.ApprovePathPrefixAliases, ContextHandler.ApproveSameSuffixAliases, ContextHandler.ContextAbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener_scontext, MANAGED_ATTRIBUTES_nextScope, _outerScope_handler_listeners, FAILED, RUNNING, STARTED, STARTING, 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, addVirtualHosts, callContextDestroyed, callContextInitialized, checkContext, checkManagedAttribute, clearAttributes, doHandle, doScope, doStart, doStop, dump, getAliasChecks, getAllowNullPathInfo, getAttribute, getAttributeNames, getAttributes, getBaseResource, getClassLoader, getClassPath, getConnectorNames, getContextPath, getCurrentContext, getDisplayName, getErrorHandler, getEventListeners, getInitParameter, getInitParameterNames, getInitParams, getLocaleEncoding, getLocaleEncoding, getLogger, getMaxFormContentSize, getMaxFormKeys, getMimeTypes, getProtectedTargets, getResource, getResourceBase, getResourcePaths, getServletContext, getVirtualHosts, getWelcomeFiles, handle, isAliases, isAvailable, isCompactPath, isProtectedTarget, isShutdown, loadClass, newResource, newResource, removeAttribute, removeVirtualHosts, restrictEventListener, setAliases, setAllowNullPathInfo, setAttribute, setAttributes, setAvailable, setBaseResource, setClassLoader, setCompactPath, setConnectorNames, setContextPath, setDisplayName, setErrorHandler, setEventListeners, setInitParameter, setLogger, setManagedAttribute, setMaxFormContentSize, setMaxFormKeys, setMimeTypes, setProtectedTargets, setResourceBase, setServer, setShutdown, setVirtualHosts, setWelcomeFiles, startContext, toStringhandle, never, nextHandle, nextScopedestroy, expandChildren, getHandler, getHandlers, getNestedHandlerByClass, setHandlerexpandHandler, findContainerOf, getChildHandlerByClass, getChildHandlers, getChildHandlersByClassdumpThis, getServeraddBean, addBean, contains, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanageaddLifeCycleListener, getState, getState, 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, stoppublic 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-2013 Mort Bay Consulting. All Rights Reserved.