nu.staldal.lsp.framework
Class RestfulDispatcherServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
nu.staldal.lsp.framework.DispatcherServlet
nu.staldal.lsp.framework.RestfulDispatcherServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class RestfulDispatcherServlet
- extends DispatcherServlet
Dispatcher Servlet for LSP framework with RESTful dispatching.
Will be available in ServletContext
under the key
nu.staldal.lsp.framework.DispatcherServlet
.
- Author:
- Mikael Ståldal
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.http.HttpServlet |
doHead, doOptions, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTRA_ARGS
public static final java.lang.String EXTRA_ARGS
- See Also:
- Constant Field Values
RestfulDispatcherServlet
public RestfulDispatcherServlet()
useTemplateIfServiceIsNotFound
protected boolean useTemplateIfServiceIsNotFound()
- Overrides:
useTemplateIfServiceIsNotFound
in class DispatcherServlet
dispatchService
public java.lang.String dispatchService(javax.servlet.http.HttpServletRequest request)
- Description copied from class:
DispatcherServlet
- Strip leading '/' and extension, apply defaultService.
- Overrides:
dispatchService
in class DispatcherServlet
- Parameters:
request
- the HtthServletRequest
- Returns:
- never return
null