public final class XServletHandlerToSimpleHandler extends Object implements IXServletHandler
IXServletHandler for
IXServletSimpleHandler.| Constructor and Description |
|---|
XServletHandlerToSimpleHandler(IXServletSimpleHandler aSimpleHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
onRequest(javax.servlet.http.HttpServletRequest aHttpRequest,
javax.servlet.http.HttpServletResponse aHttpResponse,
com.helger.http.EHttpVersion eHttpVersion,
com.helger.commons.http.EHttpMethod eHttpMethod,
com.helger.web.scope.IRequestWebScope aRequestScope)
Handle the servlet action for a certain request and response.
|
void |
onServletDestroy()
Called upon Servlet destruction.
|
void |
onServletInit(com.helger.commons.collection.impl.ICommonsMap<String,String> aInitParams)
Called upon Servlet initialization
|
public XServletHandlerToSimpleHandler(@Nonnull IXServletSimpleHandler aSimpleHandler)
public void onServletInit(@Nonnull com.helger.commons.collection.impl.ICommonsMap<String,String> aInitParams) throws javax.servlet.ServletException
IXServletBasicHandleronServletInit in interface IXServletBasicHandleraInitParams - The init parameters. Never null but maybe empty.javax.servlet.ServletException - if something goes wrongpublic void onRequest(@Nonnull javax.servlet.http.HttpServletRequest aHttpRequest, @Nonnull javax.servlet.http.HttpServletResponse aHttpResponse, @Nonnull com.helger.http.EHttpVersion eHttpVersion, @Nonnull com.helger.commons.http.EHttpMethod eHttpMethod, @Nonnull com.helger.web.scope.IRequestWebScope aRequestScope) throws javax.servlet.ServletException, IOException
IXServletHandleronRequest in interface IXServletHandleraHttpRequest - HTTP servlet request. Never null.aHttpResponse - HTTP servlet response. Never null.eHttpVersion - HTTP version. Never null.eHttpMethod - HTTP method. Never null.aRequestScope - Request scope. Never null.javax.servlet.ServletException - On business errorIOException - On IO errorpublic void onServletDestroy()
IXServletBasicHandleronServletDestroy in interface IXServletBasicHandlerCopyright © 2017–2019 Philip Helger. All rights reserved.