DefaultAnnotationHandlerMapping
,
AnnotationMethodHandlerAdapter
, and AnnotationMethodHandlerExceptionResolver
.@Deprecated
abstract class ServletAnnotationMappingUtils
extends java.lang.Object
Constructor and Description |
---|
ServletAnnotationMappingUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
checkHeaders(java.lang.String[] headers,
HttpServletRequest request)
Deprecated.
Check whether the given request matches the specified header conditions.
|
static boolean |
checkParameters(java.lang.String[] params,
HttpServletRequest request)
Deprecated.
Check whether the given request matches the specified parameter conditions.
|
static boolean |
checkRequestMethod(RequestMethod[] methods,
HttpServletRequest request)
Deprecated.
Check whether the given request matches the specified request methods.
|
private static boolean |
isMediaTypeHeader(java.lang.String headerName)
Deprecated.
|
public static boolean checkRequestMethod(RequestMethod[] methods, HttpServletRequest request)
methods
- the HTTP request methods to check againstrequest
- the current HTTP request to checkpublic static boolean checkParameters(java.lang.String[] params, HttpServletRequest request)
params
- the parameter conditions, following
RequestMapping.#params()
request
- the current HTTP request to checkpublic static boolean checkHeaders(java.lang.String[] headers, HttpServletRequest request)
headers
- the header conditions, following
RequestMapping.headers()
request
- the current HTTP request to checkprivate static boolean isMediaTypeHeader(java.lang.String headerName)