@ControllerAdvice(assignableTypes=SigningBasketController.class) public class SigningBasketHeaderModifierAdvice extends CommonHeaderModifierAdvice
| Constructor and Description |
|---|
SigningBasketHeaderModifierAdvice(AspspProfileServiceWrapper aspspProfileServiceWrapper) |
| Modifier and Type | Method and Description |
|---|---|
Object |
beforeBodyWrite(Object body,
org.springframework.core.MethodParameter returnType,
org.springframework.http.MediaType selectedContentType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> selectedConverterType,
org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response) |
boolean |
supports(org.springframework.core.MethodParameter returnType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType) |
getScaApproach, hasErrorpublic SigningBasketHeaderModifierAdvice(AspspProfileServiceWrapper aspspProfileServiceWrapper)
public boolean supports(org.springframework.core.MethodParameter returnType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> converterType)
supports in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice<Object>supports in class CommonHeaderModifierAdvicepublic Object beforeBodyWrite(Object body, org.springframework.core.MethodParameter returnType, org.springframework.http.MediaType selectedContentType, Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> selectedConverterType, org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)
beforeBodyWrite in interface org.springframework.web.servlet.mvc.method.annotation.ResponseBodyAdvice<Object>beforeBodyWrite in class CommonHeaderModifierAdviceCopyright © 2018 Pivotal Software, Inc.. All rights reserved.