public class RestMappingMethodInterceptor extends AbstractMethodInterceptor
RestMappingMethodInterceptor only use the first mapping value.
it will interceptor with
@GetMapping, @PostMapping, @PutMapping
@DeleteMapping, @PatchMapping| Constructor and Description |
|---|
RestMappingMethodInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAcceptedMethodTypes(Method method) |
String |
getRequestURL(Method method) |
afterMethod, beforeMethod, handleMethodExceptionpublic String getRequestURL(Method method)
getRequestURL in class AbstractMethodInterceptorpublic String getAcceptedMethodTypes(Method method)
getAcceptedMethodTypes in class AbstractMethodInterceptorCopyright © 2019 The Apache Software Foundation. All rights reserved.