Package com.blackrook.small.dispatch
Interface DispatchMVCEntryPoint<R>
- Type Parameters:
R- Return type for the entry point call.
- All Known Implementing Classes:
ControllerEntryPoint,FilterEntryPoint,FilterExitPoint
public interface DispatchMVCEntryPoint<R>
Describes an entry point that is meant to handle part of the MVC call stack.
- Author:
- Matthew Tropiano
-
Method Summary
Modifier and TypeMethodDescriptionhandleCall(RequestMethod requestMethod, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String, String> pathVariableMap, Map<String, javax.servlet.http.Cookie> cookieMap, HashDequeMap<String, Part> partMap) Handles an MVC call.
-
Method Details
-
handleCall
R handleCall(RequestMethod requestMethod, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Map<String, String> pathVariableMap, Map<String, throws InvocationTargetException, javax.servlet.ServletException, IOExceptionjavax.servlet.http.Cookie> cookieMap, HashDequeMap<String, Part> partMap) Handles an MVC call.- Parameters:
requestMethod- the incoming request method.request- the HTTP request.response- the HTTP response.pathVariableMap- the path variable map.cookieMap- the cookie map.partMap- the map of name to multipart parts.- Returns:
- the return value.
- Throws:
NotFoundException- if a file that was going to be sent does not exist.UnsupportedMediaTypeException- if an incoming or outgoing type is unsupported.NoConverterException- if an object could not be converted to a serializable format for transmission.ClassCastException- if a value could not be converted to another type.BeanCreationException- if a bean cannot be instantiated for any reason on the application, session, or request scope.UnsupportedEncodingException- if an encoding type is not supported by this server.InvocationTargetException- if the underlying call throws an exception.javax.servlet.ServletException- if any other servlet exception happens.IOException- if an IO Error occurs.
-