Class RequestValidator
- java.lang.Object
-
- org.gcube.smartgears.handlers.AbstractHandler
-
- org.gcube.smartgears.handlers.application.RequestHandler
-
- org.gcube.smartgears.handlers.application.request.RequestValidator
-
- All Implemented Interfaces:
ApplicationHandler<RequestHandler>,Handler<ApplicationEvent<RequestHandler>>
public class RequestValidator extends RequestHandler
-
-
Constructor Summary
Constructors Constructor Description RequestValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()voidhandleRequest(RequestEvent call)Invoked when the container receives a request for a servlet of a managed app.voidhandleResponse(ResponseEvent e)Invoked when a servlet of a managed app has produced a response to a request.StringtoString()-
Methods inherited from class org.gcube.smartgears.handlers.application.RequestHandler
isUnfiltrable, onEvent, start, stop
-
Methods inherited from class org.gcube.smartgears.handlers.AbstractHandler
equals
-
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein classRequestHandler
-
handleRequest
public void handleRequest(RequestEvent call)
Description copied from class:RequestHandlerInvoked when the container receives a request for a servlet of a managed app.- Overrides:
handleRequestin classRequestHandler- Parameters:
call- the event
-
handleResponse
public void handleResponse(ResponseEvent e)
Description copied from class:RequestHandlerInvoked when a servlet of a managed app has produced a response to a request.- Overrides:
handleResponsein classRequestHandler- Parameters:
e- the event
-
toString
public String toString()
- Overrides:
toStringin classAbstractHandler
-
-