public class RewriteWebContextImpl extends AbstractWebContextWrapper implements RewriteWebContext
| Modifier and Type | Field and Description |
|---|---|
static int |
SERVER_PORT_HTTP |
static int |
SERVER_PORT_HTTPS |
static String |
SERVER_SCHEME_HTTP |
static String |
SERVER_SCHEME_HTTPS |
REQUEST_ATTRIBUTE_FROM_WEBCONTEXT| Constructor and Description |
|---|
RewriteWebContextImpl(WebContext wrappedContext,
RewriteRule[] rules)
包装一个
RequestContext对象。 |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare()
开始一个请求。
|
void |
setPath(String path)
设置路径
|
exist, existFromWrapperContext, get, getFromWrapperContext, getObject, getRequest, getResponse, getServletContext, getWrappedWebContext, getWrappedWebContext, init, isRequestFinished, putSubWebContext, setObject, setRequest, setResponse, setServletContextclear, clearSubContext, contain, containNodeMap, createSubContext, existNodeMap, findNodeMap, getInSubContext, getItemMap, getParent, getSubContext, getSubContextMap, getTotalContext, getTotalItemMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParentget, put, putAll, remove, setItemMap, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObject, getRequest, getResponse, getServletContext, getWrappedWebContext, init, isRequestFinished, setObject, setRequest, setResponse, setServletContextclearSubContext, createSubContext, getInSubContext, getItemMap, getParent, getSubContext, getSubContextMap, getTotalItemMap, put, putSubContext, remove, removeSubContext, setParentpublic static final String SERVER_SCHEME_HTTP
public static final String SERVER_SCHEME_HTTPS
public static final int SERVER_PORT_HTTP
public static final int SERVER_PORT_HTTPS
public RewriteWebContextImpl(WebContext wrappedContext, RewriteRule[] rules)
RequestContext对象。wrappedContext - 被包装的RequestContextrewriteConfig - rewrite的配置文件信息public void prepare()
public void setPath(String path)
RewriteWebContextsetPath in interface RewriteWebContextCopyright © 2006–2018 TinyGroup. All rights reserved.