Class DefaultHttpServerProcessor

java.lang.Object
cloud.piranha.http.impl.DefaultHttpServerProcessor
All Implemented Interfaces:
HttpServerProcessor

public class DefaultHttpServerProcessor
extends java.lang.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 ([email protected])
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultHttpServerProcessor()  
  • Method Summary

    Modifier and Type Method Description
    boolean process​(HttpServerRequest request, HttpServerResponse response)
    Process the request.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait