public class GuestTokenHandlerMethodArgumentResolver extends Object implements org.springframework.web.method.support.HandlerMethodArgumentResolver
ResolveGuestToken
-annotated arguments for endpoints.Constructor and Description |
---|
GuestTokenHandlerMethodArgumentResolver(RequestGuestTokenResolver tokenResolver) |
Modifier and Type | Method and Description |
---|---|
protected RequestGuestTokenResolver |
getTokenResolver() |
Object |
resolveArgument(org.springframework.core.MethodParameter parameter,
org.springframework.web.method.support.ModelAndViewContainer mavContainer,
org.springframework.web.context.request.NativeWebRequest webRequest,
org.springframework.web.bind.support.WebDataBinderFactory binderFactory) |
boolean |
supportsParameter(org.springframework.core.MethodParameter parameter) |
public GuestTokenHandlerMethodArgumentResolver(RequestGuestTokenResolver tokenResolver)
public boolean supportsParameter(org.springframework.core.MethodParameter parameter)
supportsParameter
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
@Nullable public Object resolveArgument(org.springframework.core.MethodParameter parameter, @Nullable org.springframework.web.method.support.ModelAndViewContainer mavContainer, org.springframework.web.context.request.NativeWebRequest webRequest, @Nullable org.springframework.web.bind.support.WebDataBinderFactory binderFactory) throws Exception
resolveArgument
in interface org.springframework.web.method.support.HandlerMethodArgumentResolver
Exception
protected RequestGuestTokenResolver getTokenResolver()
Copyright © 2021. All rights reserved.