java.lang.Object
cloud.piranha.http.tests.TestHttpServerProcessor
- All Implemented Interfaces:
HttpServerProcessor
The default implementation of a HTTP Server Processor.
This HTTP Server Processor will either show the user with a directory listing, or stream back contents of the file clicked on in the browser, or it will return a 404 error because neither could be found.
- Author:
- Manfred Riem ([email protected])
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocess
(HttpServerRequest request, HttpServerResponse response) Process the request.
-
Constructor Details
-
TestHttpServerProcessor
public TestHttpServerProcessor()
-
-
Method Details
-
process
Description copied from interface:HttpServerProcessor
Process the request.- Specified by:
process
in interfaceHttpServerProcessor
- Parameters:
request
- the request.response
- the response.- Returns:
- the end state.
-