Class HandlerChain
- java.lang.Object
-
- io.vertigo.vega.plugins.webservice.handler.HandlerChain
-
public final class HandlerChain extends Object
Chain of handlers to handle a Request.- Author:
- npiedeloup
-
-
Constructor Summary
Constructors Constructor Description HandlerChain(List<WebServiceHandlerPlugin> handlers)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, WebServiceCallContext routeContext)
Do handle of this route.
-
-
-
Constructor Detail
-
HandlerChain
public HandlerChain(List<WebServiceHandlerPlugin> handlers)
Constructor.- Parameters:
handlers
- Handlers
-
-
Method Detail
-
handle
public Object handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, WebServiceCallContext routeContext) throws SessionException
Do handle of this route.- Parameters:
request
- spark.Requestresponse
- spark.ResponserouteContext
- Context of this route- Returns:
- WebService result
- Throws:
SessionException
- Session exception
-
-