Package ej.hoka.http.requesthandler
Interface RequestHandler
-
public interface RequestHandlerA handler to process request and create appropriate response.Implementations must be thread-safe to protect themselves against concurrent calls from different jobs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocess(HttpRequest request, HttpResponse response)Processes the request and return the appropriate response.
-
-
-
Method Detail
-
process
void process(HttpRequest request, HttpResponse response)
Processes the request and return the appropriate response.- Parameters:
request- theHttpRequestto process.response- theHttpResponseto send.
-
-