@ControllerAdvice public class StringTrimInterceptor extends Object implements org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvice
| Constructor and Description |
|---|
StringTrimInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Object |
afterBodyRead(Object o,
org.springframework.http.HttpInputMessage httpInputMessage,
org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
org.springframework.http.HttpInputMessage |
beforeBodyRead(org.springframework.http.HttpInputMessage httpInputMessage,
org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
Object |
handleEmptyBody(Object o,
org.springframework.http.HttpInputMessage httpInputMessage,
org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
boolean |
supports(org.springframework.core.MethodParameter methodParameter,
Type type,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) |
public StringTrimInterceptor()
public boolean supports(org.springframework.core.MethodParameter methodParameter, Type type, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass)
supports in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvicepublic org.springframework.http.HttpInputMessage beforeBodyRead(org.springframework.http.HttpInputMessage httpInputMessage, org.springframework.core.MethodParameter methodParameter, Type type, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass) throws IOException
beforeBodyRead in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceIOExceptionpublic Object afterBodyRead(Object o, org.springframework.http.HttpInputMessage httpInputMessage, org.springframework.core.MethodParameter methodParameter, Type type, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass)
afterBodyRead in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdvicepublic Object handleEmptyBody(Object o, org.springframework.http.HttpInputMessage httpInputMessage, org.springframework.core.MethodParameter methodParameter, Type type, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass)
handleEmptyBody in interface org.springframework.web.servlet.mvc.method.annotation.RequestBodyAdviceCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.