|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.web.servlet.mvc.annotation.ServletAnnotationMappingUtils
abstract class ServletAnnotationMappingUtils
Helper class for annotation-based request mapping.
| Constructor Summary | |
|---|---|
ServletAnnotationMappingUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
checkHeaders(java.lang.String[] headers,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified header conditions. |
static boolean |
checkParameters(java.lang.String[] params,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified parameter conditions. |
static boolean |
checkRequestMethod(RequestMethod[] methods,
javax.servlet.http.HttpServletRequest request)
Check whether the given request matches the specified request methods. |
private static boolean |
isMediaTypeHeader(java.lang.String headerName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
ServletAnnotationMappingUtils()
| Method Detail |
|---|
public static boolean checkRequestMethod(RequestMethod[] methods,
javax.servlet.http.HttpServletRequest request)
methods - the HTTP request methods to check againstrequest - the current HTTP request to check
public static boolean checkParameters(java.lang.String[] params,
javax.servlet.http.HttpServletRequest request)
params - the parameter conditions, following
RequestMapping.#params()request - the current HTTP request to check
public static boolean checkHeaders(java.lang.String[] headers,
javax.servlet.http.HttpServletRequest request)
headers - the header conditions, following
RequestMapping.headers()request - the current HTTP request to checkprivate static boolean isMediaTypeHeader(java.lang.String headerName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||