public abstract class ServletAnnotationMappingUtils extends Object
| Constructor and Description |
|---|
ServletAnnotationMappingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkHeaders(String[] headers,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified header conditions.
|
static boolean |
checkParameters(String[] params,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified parameter
conditions.
|
static boolean |
checkRequestMethod(org.springframework.web.bind.annotation.RequestMethod[] methods,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified request methods.
|
public static boolean checkRequestMethod(org.springframework.web.bind.annotation.RequestMethod[] methods,
javax.servlet.http.HttpServletRequest request)
methods - the HTTP request methods to check againstrequest - the current HTTP request to checkpublic static boolean checkParameters(String[] params, javax.servlet.http.HttpServletRequest request)
params - the parameter conditions, following
RequestMapping.params()request - the current HTTP request to checkpublic static boolean checkHeaders(String[] headers, javax.servlet.http.HttpServletRequest request)
headers - the header conditions, following
RequestMapping.headers()request - the current HTTP request to checkCopyright © 2006–2018 TinyGroup. All rights reserved.