|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.web.bind.annotation.support.HandlerMethodInvoker
org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.ServletHandlerMethodInvoker
private class AnnotationMethodHandlerAdapter.ServletHandlerMethodInvoker
Servlet-specific subclass of HandlerMethodInvoker.
| Field Summary | |
|---|---|
private boolean |
responseArgumentUsed
|
| Constructor Summary | |
|---|---|
private |
AnnotationMethodHandlerAdapter.ServletHandlerMethodInvoker(HandlerMethodResolver resolver)
|
| Method Summary | |
|---|---|
protected WebDataBinder |
createBinder(NativeWebRequest webRequest,
java.lang.Object target,
java.lang.String objectName)
|
protected HttpInputMessage |
createHttpInputMessage(NativeWebRequest webRequest)
Return a HttpInputMessage for the given NativeWebRequest. |
protected HttpOutputMessage |
createHttpOutputMessage(NativeWebRequest webRequest)
Return a HttpOutputMessage for the given NativeWebRequest. |
protected void |
doBind(WebDataBinder binder,
NativeWebRequest webRequest)
|
ModelAndView |
getModelAndView(java.lang.reflect.Method handlerMethod,
java.lang.Class handlerType,
java.lang.Object returnValue,
ExtendedModelMap implicitModel,
ServletWebRequest webRequest)
|
private void |
handleHttpEntityResponse(HttpEntity<?> responseEntity,
ServletWebRequest webRequest)
|
private void |
handleResponseBody(java.lang.Object returnValue,
ServletWebRequest 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.String |
resolvePathVariable(java.lang.String pathVarName,
java.lang.Class paramType,
NativeWebRequest webRequest)
Resolves the given @PathVariable annotation. |
protected java.lang.Object |
resolveStandardArgument(java.lang.Class<?> parameterType,
NativeWebRequest webRequest)
|
private void |
writeWithMessageConverters(java.lang.Object returnValue,
HttpInputMessage inputMessage,
HttpOutputMessage outputMessage)
|
| Methods inherited from class org.springframework.web.bind.annotation.support.HandlerMethodInvoker |
|---|
addReturnValueAsModelAttribute, initBinder, invokeHandlerMethod, isBindingCandidate, parseDefaultValueAttribute, raiseMissingCookieException, raiseMissingHeaderException, resolveCommonArgument, resolveRequestBody, updateModelAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private boolean responseArgumentUsed
| Constructor Detail |
|---|
private AnnotationMethodHandlerAdapter.ServletHandlerMethodInvoker(HandlerMethodResolver resolver)
| Method Detail |
|---|
protected void raiseMissingParameterException(java.lang.String paramName,
java.lang.Class paramType)
throws java.lang.Exception
raiseMissingParameterException in class HandlerMethodInvokerjava.lang.Exception
protected void raiseSessionRequiredException(java.lang.String message)
throws java.lang.Exception
raiseSessionRequiredException in class HandlerMethodInvokerjava.lang.Exception
protected WebDataBinder createBinder(NativeWebRequest webRequest,
java.lang.Object target,
java.lang.String objectName)
throws java.lang.Exception
createBinder in class HandlerMethodInvokerjava.lang.Exception
protected void doBind(WebDataBinder binder,
NativeWebRequest webRequest)
throws java.lang.Exception
doBind in class HandlerMethodInvokerjava.lang.Exception
protected HttpInputMessage createHttpInputMessage(NativeWebRequest webRequest)
throws java.lang.Exception
HandlerMethodInvokerHttpInputMessage for the given NativeWebRequest.
Throws an UnsupportedOperation1Exception by default.
createHttpInputMessage in class HandlerMethodInvokerjava.lang.Exception
protected HttpOutputMessage createHttpOutputMessage(NativeWebRequest webRequest)
throws java.lang.Exception
HandlerMethodInvokerHttpOutputMessage for the given NativeWebRequest.
Throws an UnsupportedOperationException by default.
createHttpOutputMessage in class HandlerMethodInvokerjava.lang.Exceptionprotected 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 HandlerMethodInvokerjava.lang.Exception
protected java.lang.String resolvePathVariable(java.lang.String pathVarName,
java.lang.Class paramType,
NativeWebRequest webRequest)
throws java.lang.Exception
HandlerMethodInvoker@PathVariable annotation.
Throws an UnsupportedOperationException by default.
resolvePathVariable in class HandlerMethodInvokerjava.lang.Exception
protected java.lang.Object resolveStandardArgument(java.lang.Class<?> parameterType,
NativeWebRequest webRequest)
throws java.lang.Exception
resolveStandardArgument in class HandlerMethodInvokerjava.lang.Exception
public ModelAndView getModelAndView(java.lang.reflect.Method handlerMethod,
java.lang.Class handlerType,
java.lang.Object returnValue,
ExtendedModelMap implicitModel,
ServletWebRequest webRequest)
throws java.lang.Exception
java.lang.Exception
private void handleResponseBody(java.lang.Object returnValue,
ServletWebRequest webRequest)
throws java.lang.Exception
java.lang.Exception
private void handleHttpEntityResponse(HttpEntity<?> responseEntity,
ServletWebRequest webRequest)
throws java.lang.Exception
java.lang.Exception
private void writeWithMessageConverters(java.lang.Object returnValue,
HttpInputMessage inputMessage,
HttpOutputMessage outputMessage)
throws java.io.IOException,
HttpMediaTypeNotAcceptableException
java.io.IOException
HttpMediaTypeNotAcceptableException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||