public class HttpMethodWrapper extends AbstractControllerMethodWrapper implements HandlerMethod
deprecated, module, printLog, queueIdKey, threadGroupmethodAccess, methodIndex, single| 构造器和说明 |
|---|
HttpMethodWrapper(java.lang.Object single,
HttpMethodDefinition method,
ExecThreadGroup threadGroup,
java.lang.Class<?> controllerMasterClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<T> annotationClass)
获取这个处理器方法上的指定注解
|
java.util.Set<RequestMethod> |
getMethodSet() |
java.util.ArrayList<HttpParamWrapper> |
getParameters() |
java.lang.String |
getPath() |
ResponseBody |
getResponseBody() |
getModule, getQueueIdKey, isDeprecated, isPrintLog, logCode, setDeprecated, setPrintLog, threadGroupequals, getOrder, hashCode, invokepublic HttpMethodWrapper(java.lang.Object single,
HttpMethodDefinition method,
ExecThreadGroup threadGroup,
java.lang.Class<?> controllerMasterClass)
public java.lang.String getPath()
public java.util.ArrayList<HttpParamWrapper> getParameters()
public ResponseBody getResponseBody()
public java.util.Set<RequestMethod> getMethodSet()
public <T extends java.lang.annotation.Annotation> T getAnnotation(java.lang.Class<T> annotationClass)
HandlerMethodgetAnnotation 在接口中 HandlerMethodT - 注解类型annotationClass - 注解类