private class AnnotationMethodHandlerAdapter.PortletHandlerMethodInvoker extends HandlerMethodInvoker
HandlerMethodInvoker
.Constructor and Description |
---|
PortletHandlerMethodInvoker(HandlerMethodResolver resolver) |
Modifier and Type | Method and Description |
---|---|
protected WebDataBinder |
createBinder(NativeWebRequest webRequest,
java.lang.Object target,
java.lang.String objectName) |
protected void |
doBind(WebDataBinder binder,
NativeWebRequest webRequest) |
ModelAndView |
getModelAndView(java.lang.reflect.Method handlerMethod,
java.lang.Class<?> handlerType,
java.lang.Object returnValue,
ExtendedModelMap implicitModel,
PortletWebRequest webRequest) |
protected void |
raiseMissingParameterException(java.lang.String paramName,
java.lang.Class<?> paramType) |
protected void |
raiseSessionRequiredException(java.lang.String message) |
protected java.lang.Object |
resolveCookieValue(java.lang.String cookieName,
java.lang.Class<?> paramType,
NativeWebRequest webRequest)
Resolves the given
@CookieValue annotation. |
protected java.lang.Object |
resolveDefaultValue(java.lang.String value) |
protected java.lang.Object |
resolveStandardArgument(java.lang.Class<?> parameterType,
NativeWebRequest webRequest) |
addReturnValueAsModelAttribute, createHttpInputMessage, createHttpOutputMessage, initBinder, invokeHandlerMethod, isBindingCandidate, parseDefaultValueAttribute, raiseMissingCookieException, raiseMissingHeaderException, resolveCommonArgument, resolvePathVariable, resolveRequestBody, updateModelAttributes
public PortletHandlerMethodInvoker(HandlerMethodResolver resolver)
protected void raiseMissingParameterException(java.lang.String paramName, java.lang.Class<?> paramType) throws java.lang.Exception
raiseMissingParameterException
in class HandlerMethodInvoker
java.lang.Exception
protected void raiseSessionRequiredException(java.lang.String message) throws java.lang.Exception
raiseSessionRequiredException
in class HandlerMethodInvoker
java.lang.Exception
protected WebDataBinder createBinder(NativeWebRequest webRequest, java.lang.Object target, java.lang.String objectName) throws java.lang.Exception
createBinder
in class HandlerMethodInvoker
java.lang.Exception
protected void doBind(WebDataBinder binder, NativeWebRequest webRequest) throws java.lang.Exception
doBind
in class HandlerMethodInvoker
java.lang.Exception
protected java.lang.Object resolveDefaultValue(java.lang.String value)
resolveDefaultValue
in class HandlerMethodInvoker
protected java.lang.Object resolveCookieValue(java.lang.String cookieName, java.lang.Class<?> paramType, NativeWebRequest webRequest) throws java.lang.Exception
HandlerMethodInvoker
@CookieValue
annotation.
Throws an UnsupportedOperationException by default.
resolveCookieValue
in class HandlerMethodInvoker
java.lang.Exception
protected java.lang.Object resolveStandardArgument(java.lang.Class<?> parameterType, NativeWebRequest webRequest) throws java.lang.Exception
resolveStandardArgument
in class HandlerMethodInvoker
java.lang.Exception
public ModelAndView getModelAndView(java.lang.reflect.Method handlerMethod, java.lang.Class<?> handlerType, java.lang.Object returnValue, ExtendedModelMap implicitModel, PortletWebRequest webRequest)