Package cloud.piranha.http.impl
Class DefaultHttpServerProcessor
java.lang.Object
cloud.piranha.http.impl.DefaultHttpServerProcessor
- All Implemented Interfaces:
HttpServerProcessor
public class DefaultHttpServerProcessor extends Object implements 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 (mriem@manorrock.com)
-
Constructor Summary
Constructors Constructor Description DefaultHttpServerProcessor() -
Method Summary
Modifier and Type Method Description booleanprocess(HttpServerRequest request, HttpServerResponse response)
-
Constructor Details
-
DefaultHttpServerProcessor
public DefaultHttpServerProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceHttpServerProcessor- See Also:
HttpServerProcessor.process(cloud.piranha.http.api.HttpServerRequest, cloud.piranha.http.api.HttpServerResponse)
-