org.springframework.web.servlet.mvc.annotation
Class AnnotationMethodHandlerAdapter.RequestMappingInfo
java.lang.Object
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.RequestMappingInfo
- Direct Known Subclasses:
- AnnotationMethodHandlerAdapter.RequestSpecificMappingInfo
- Enclosing class:
- AnnotationMethodHandlerAdapter
static class AnnotationMethodHandlerAdapter.RequestMappingInfo
- extends java.lang.Object
Holder for request mapping metadata.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
patterns
private final java.lang.String[] patterns
methods
private final RequestMethod[] methods
params
private final java.lang.String[] params
headers
private final java.lang.String[] headers
AnnotationMethodHandlerAdapter.RequestMappingInfo
AnnotationMethodHandlerAdapter.RequestMappingInfo(java.lang.String[] patterns,
RequestMethod[] methods,
java.lang.String[] params,
java.lang.String[] headers)
hasPatterns
public boolean hasPatterns()
getPatterns
public java.lang.String[] getPatterns()
getMethodCount
public int getMethodCount()
getParamCount
public int getParamCount()
getHeaderCount
public int getHeaderCount()
matches
public boolean matches(HttpServletRequest request)
matchesHeaders
public boolean matchesHeaders(HttpServletRequest request)
matchesParameters
public boolean matchesParameters(HttpServletRequest request)
matchesRequestMethod
public boolean matchesRequestMethod(HttpServletRequest request)
methodNames
public java.util.Set<java.lang.String> methodNames()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object