net.hasor.plugins.restful.support
类 RestfulInvokeDefine

java.lang.Object
  继承者 net.hasor.plugins.restful.support.RestfulInvokeDefine

public class RestfulInvokeDefine
extends Object

线程安全

版本:
: 2013-6-5
作者:
赵永春 (zyc@hasor.net)

构造方法摘要
protected RestfulInvokeDefine(net.hasor.core.AppContext appContext, Method targetMethod)
           
 
方法摘要
 RestfulInvoke createIvnoke()
           
 net.hasor.core.AppContext getAppContext()
          获取AppContext
 String getProduces()
          产品,用来定义响应类型
 String getRestfulMapping()
          获取映射字符串
 String getRestfulMappingMatches()
          获取映射字符串用于匹配的表达式字符串
 Class<?> getTargetClass()
          获取目标类
 Method getTargetMethod()
          获取目标方法
 boolean matchingMethod(String httpMethod)
          判断Restful实例是否支持这个 请求方法。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

RestfulInvokeDefine

protected RestfulInvokeDefine(net.hasor.core.AppContext appContext,
                              Method targetMethod)
方法详细信息

getAppContext

public net.hasor.core.AppContext getAppContext()
获取AppContext


getTargetMethod

public Method getTargetMethod()
获取目标方法


getTargetClass

public Class<?> getTargetClass()
获取目标类


getRestfulMapping

public String getRestfulMapping()
获取映射字符串


getProduces

public String getProduces()
产品,用来定义响应类型


getRestfulMappingMatches

public String getRestfulMappingMatches()
获取映射字符串用于匹配的表达式字符串


matchingMethod

public boolean matchingMethod(String httpMethod)
判断Restful实例是否支持这个 请求方法。


createIvnoke

public RestfulInvoke createIvnoke()


Copyright © 2013-2014. All Rights Reserved.