org.eclipse.jetty.server.handler
类 MovedContextHandler
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AggregateLifeCycle
org.eclipse.jetty.server.handler.AbstractHandler
org.eclipse.jetty.server.handler.AbstractHandlerContainer
org.eclipse.jetty.server.handler.HandlerWrapper
org.eclipse.jetty.server.handler.ScopedHandler
org.eclipse.jetty.server.handler.ContextHandler
org.eclipse.jetty.server.handler.MovedContextHandler
- 所有已实现的接口:
- Handler, HandlerContainer, Server.Graceful, Attributes, Destroyable, Dumpable, LifeCycle
public class MovedContextHandler
- extends ContextHandler
Moved ContextHandler.
This context can be used to replace a context that has changed
location. Requests are redirected (either to a fixed URL or to a
new context base).
| 从类 org.eclipse.jetty.server.handler.ContextHandler 继承的方法 |
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, toString |
| 从类 org.eclipse.jetty.util.component.AggregateLifeCycle 继承的方法 |
addBean, addBean, contains, dump, dump, dump, dump, dumpObject, dumpStdErr, getBean, getBeans, getBeans, isManaged, manage, removeBean, removeBeans, unmanage |
| 从类 org.eclipse.jetty.util.component.AbstractLifeCycle 继承的方法 |
addLifeCycleListener, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop |
MovedContextHandler
public MovedContextHandler()
MovedContextHandler
public MovedContextHandler(HandlerContainer parent,
String contextPath,
String newContextURL)
isDiscardPathInfo
public boolean isDiscardPathInfo()
setDiscardPathInfo
public void setDiscardPathInfo(boolean discardPathInfo)
getNewContextURL
public String getNewContextURL()
setNewContextURL
public void setNewContextURL(String newContextURL)
isPermanent
public boolean isPermanent()
setPermanent
public void setPermanent(boolean permanent)
isDiscardQuery
public boolean isDiscardQuery()
setDiscardQuery
public void setDiscardQuery(boolean discardQuery)
getExpires
public String getExpires()
- 返回:
- the expires header value or null if no expires header
setExpires
public void setExpires(String expires)
- 参数:
expires - the expires header value or null if no expires header
Copyright © 2013. All Rights Reserved.