org.tinygroup.weblayer.webcontext.rewrite.impl
public class RewriteWebContextImpl extends AbstractWebContextWrapper implements RewriteWebContext
| Modifier and Type | Field and 描述 |
|---|---|
static int |
SERVER_PORT_HTTP |
static int |
SERVER_PORT_HTTPS |
static String |
SERVER_SCHEME_HTTP |
static String |
SERVER_SCHEME_HTTPS |
| Constructor and 描述 |
|---|
RewriteWebContextImpl(WebContext wrappedContext,
RewriteRule[] rules)
包装一个
RequestContext对象。 |
| Modifier and Type | Method and 描述 |
|---|---|
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, get, getParent, getSubContext, getSubContextMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParentget, getItemMap, put, putAll, remove, setItemMap, sizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetObject, getRequest, getResponse, getServletContext, getWrappedWebContext, init, isRequestFinished, setObject, setRequest, setResponse, setServletContextpublic 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 接口 {1} 中的 {0} RewriteWebContextCopyright © 2006–2015 TinyGroup. All rights reserved.