org.tinygroup.weblayer.webcontext.rewrite.impl
类 RewriteWebContextImpl

java.lang.Object
  继承者 org.tinygroup.context.impl.BaseContextImpl
      继承者 org.tinygroup.context.impl.ContextImpl
          继承者 org.tinygroup.weblayer.webcontext.AbstractWebContextWrapper
              继承者 org.tinygroup.weblayer.webcontext.rewrite.impl.RewriteWebContextImpl
所有已实现的接口:
Serializable, org.tinygroup.context.BaseContext, org.tinygroup.context.Context, WebContext, RewriteWebContext

public class RewriteWebContextImpl
extends AbstractWebContextWrapper
implements RewriteWebContext

重写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
 

字段详细信息

SERVER_SCHEME_HTTP

public static final String SERVER_SCHEME_HTTP
另请参见:
常量字段值

SERVER_SCHEME_HTTPS

public static final String SERVER_SCHEME_HTTPS
另请参见:
常量字段值

SERVER_PORT_HTTP

public static final int SERVER_PORT_HTTP
另请参见:
常量字段值

SERVER_PORT_HTTPS

public static final int SERVER_PORT_HTTPS
另请参见:
常量字段值
构造方法详细信息

RewriteWebContextImpl

public RewriteWebContextImpl(WebContext wrappedContext,
                             RewriteRule[] rules)
包装一个RequestContext对象。

参数:
wrappedContext - 被包装的RequestContext
rewriteConfig - rewrite的配置文件信息
方法详细信息

prepare

public void prepare()
开始一个请求。



Copyright © 2006–2014 开源组织. All rights reserved.