public class TinyServletHandlerMethodInvoker
extends org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Constructor and Description |
---|
TinyServletHandlerMethodInvoker(org.springframework.web.bind.annotation.support.HandlerMethodResolver resolver,
org.springframework.web.bind.support.WebBindingInitializer webBindingInitializer,
org.springframework.web.bind.support.SessionAttributeStore sessionAttributeStore,
org.springframework.core.ParameterNameDiscoverer parameterNameDiscoverer,
org.springframework.web.bind.support.WebArgumentResolver[] customArgumentResolvers,
AbstractMethodHandlerAdapter methodHandlerAdapter,
org.springframework.http.converter.HttpMessageConverter<?>[] httpMessageConverters) |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.web.bind.WebDataBinder |
createBinder(org.springframework.web.context.request.NativeWebRequest webRequest,
Object target,
String objectName) |
protected org.springframework.http.HttpInputMessage |
createHttpInputMessage(org.springframework.web.context.request.NativeWebRequest webRequest) |
protected org.springframework.http.HttpOutputMessage |
createHttpOutputMessage(org.springframework.web.context.request.NativeWebRequest webRequest) |
protected void |
doBind(org.springframework.web.bind.WebDataBinder binder,
org.springframework.web.context.request.NativeWebRequest webRequest) |
org.springframework.web.servlet.ModelAndView |
getModelAndView(Method handlerMethod,
Class<?> handlerType,
Object returnValue,
org.springframework.ui.ExtendedModelMap implicitModel,
org.springframework.web.context.request.ServletWebRequest webRequest) |
protected void |
raiseMissingParameterException(String paramName,
Class paramType) |
protected void |
raiseSessionRequiredException(String message) |
protected Object |
resolveCookieValue(String cookieName,
Class paramType,
org.springframework.web.context.request.NativeWebRequest webRequest) |
protected Object |
resolveDefaultValue(String value) |
protected String |
resolvePathVariable(String pathVarName,
Class paramType,
org.springframework.web.context.request.NativeWebRequest webRequest) |
protected Object |
resolveStandardArgument(Class<?> parameterType,
org.springframework.web.context.request.NativeWebRequest webRequest) |
addReturnValueAsModelAttribute, initBinder, invokeHandlerMethod, isBindingCandidate, parseDefaultValueAttribute, raiseMissingCookieException, raiseMissingHeaderException, resolveCommonArgument, resolveRequestBody, updateModelAttributes
public TinyServletHandlerMethodInvoker(org.springframework.web.bind.annotation.support.HandlerMethodResolver resolver, org.springframework.web.bind.support.WebBindingInitializer webBindingInitializer, org.springframework.web.bind.support.SessionAttributeStore sessionAttributeStore, org.springframework.core.ParameterNameDiscoverer parameterNameDiscoverer, org.springframework.web.bind.support.WebArgumentResolver[] customArgumentResolvers, AbstractMethodHandlerAdapter methodHandlerAdapter, org.springframework.http.converter.HttpMessageConverter<?>[] httpMessageConverters)
protected void raiseMissingParameterException(String paramName, Class paramType) throws Exception
raiseMissingParameterException
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected void raiseSessionRequiredException(String message) throws Exception
raiseSessionRequiredException
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected org.springframework.http.HttpInputMessage createHttpInputMessage(org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
createHttpInputMessage
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected org.springframework.http.HttpOutputMessage createHttpOutputMessage(org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
createHttpOutputMessage
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected Object resolveDefaultValue(String value)
resolveDefaultValue
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
protected Object resolveCookieValue(String cookieName, Class paramType, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
resolveCookieValue
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected String resolvePathVariable(String pathVarName, Class paramType, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
resolvePathVariable
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected org.springframework.web.bind.WebDataBinder createBinder(org.springframework.web.context.request.NativeWebRequest webRequest, Object target, String objectName) throws Exception
createBinder
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected void doBind(org.springframework.web.bind.WebDataBinder binder, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
doBind
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
protected Object resolveStandardArgument(Class<?> parameterType, org.springframework.web.context.request.NativeWebRequest webRequest) throws Exception
resolveStandardArgument
in class org.springframework.web.bind.annotation.support.HandlerMethodInvoker
Exception
public org.springframework.web.servlet.ModelAndView getModelAndView(Method handlerMethod, Class<?> handlerType, Object returnValue, org.springframework.ui.ExtendedModelMap implicitModel, org.springframework.web.context.request.ServletWebRequest webRequest) throws Exception
Exception
Copyright © 2006–2018 TinyGroup. All rights reserved.