|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.tinygroup.context.impl.BaseContextImpl
org.tinygroup.context.impl.ContextImpl
org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper
org.tinygroup.weblayer.webcontext.rewrite.impl.RewriteWebContextImpl
public class RewriteWebContextImpl
重写URL及参数的request context,类似于apache的mod_rewrite模块。
| 字段摘要 | |
|---|---|
static int |
SERVER_PORT_HTTP
|
static int |
SERVER_PORT_HTTPS
|
static String |
SERVER_SCHEME_HTTP
|
static String |
SERVER_SCHEME_HTTPS
|
| 从类 org.tinygroup.context.impl.BaseContextImpl 继承的字段 |
|---|
itemMap |
| 构造方法摘要 | |
|---|---|
RewriteWebContextImpl(WebContext wrappedContext,
RewriteRule[] rules)
包装一个 RequestContext对象。 |
|
| 方法摘要 | |
|---|---|
void |
prepare()
开始一个请求。 |
| 从类 org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper 继承的方法 |
|---|
get, getFromWrapperContext, getObject, getRequest, getResponse, getServletContext, getWrappedWebContext, getWrappedWebContext, init, putSubWebContext, setObject, setRequest, setResponse, setServletContext |
| 从类 org.tinygroup.context.impl.ContextImpl 继承的方法 |
|---|
clear, clearSubContext, createSubContext, findNodeMap, get, getParent, getSubContext, getSubContextMap, put, putContext, putSubContext, remove, removeSubContext, renameKey, renameKeyNodeMap, setParent |
| 从类 org.tinygroup.context.impl.BaseContextImpl 继承的方法 |
|---|
exist, get, getItemMap, put, remove, size |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 从接口 org.tinygroup.weblayer.WebContext 继承的方法 |
|---|
getObject, getRequest, getResponse, getServletContext, getWrappedWebContext, init, setObject, setRequest, setResponse, setServletContext |
| 从接口 org.tinygroup.context.Context 继承的方法 |
|---|
clearSubContext, createSubContext, get, getParent, getSubContext, getSubContextMap, put, putSubContext, remove, removeSubContext, setParent |
| 从接口 org.tinygroup.context.BaseContext 继承的方法 |
|---|
clear, exist, get, get, getItemMap, put, remove, renameKey, size |
| 字段详细信息 |
|---|
public 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()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||