public class RequestMeta extends Object
Constructor and Description |
---|
RequestMeta(String requestMappingPrefix,
Class<?> targetClass,
Method method) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowHttpMethod(Type.HttpMethod method) |
Map<String,String> |
getAllowHeaders() |
Set<Type.HttpMethod> |
getAllowMethods() |
Map<String,String> |
getAllowParams() |
Collection<ParameterMeta> |
getClassParameterMetas() |
Class<? extends IResponseErrorProcessor> |
getErrorProcessor() |
String |
getMapping() |
Method |
getMethod() |
List<ParameterMeta> |
getMethodParameterMetas() |
List<String> |
getMethodParamNames() |
String |
getName() |
Class<? extends IRequestProcessor> |
getProcessor() |
ResponseBody |
getResponseBody() |
ResponseCache |
getResponseCache() |
Set<ResponseHeader> |
getResponseHeaders() |
ResponseView |
getResponseView() |
SignatureValidate |
getSignatureValidate() |
Class<?> |
getTargetClass() |
boolean |
isSingleton() |
boolean |
isSnakeCase() |
public Class<?> getTargetClass()
public String getMapping()
public Class<? extends IRequestProcessor> getProcessor()
public Class<? extends IResponseErrorProcessor> getErrorProcessor()
public Method getMethod()
public String getName()
public boolean isSingleton()
public boolean isSnakeCase()
public ResponseCache getResponseCache()
public ResponseView getResponseView()
public ResponseBody getResponseBody()
public SignatureValidate getSignatureValidate()
public Set<ResponseHeader> getResponseHeaders()
public boolean allowHttpMethod(Type.HttpMethod method)
method
- 方法名称public Set<Type.HttpMethod> getAllowMethods()
public Collection<ParameterMeta> getClassParameterMetas()
public List<ParameterMeta> getMethodParameterMetas()
Copyright © 2022. All rights reserved.