Uses of Interface
com.faunos.util.net.Stagelet

Packages that use Stagelet
com.faunos.skwish.ext.http An experimental read-only HTTP interface to skwish is provided here. 
com.faunos.util.net Facilities for non-blocking network I/O. 
com.faunos.util.net.http A skeletal implementation of a simple non-blocking HTTP server. 
com.faunos.util.net.http.file Support for serving files over HTTP. 
 

Uses of Stagelet in com.faunos.skwish.ext.http
 

Methods in com.faunos.skwish.ext.http that return Stagelet
protected  Stagelet SkwishResponseFactory.prepareResponseImpl(RequestHeader request, StageletStack stack)
          Returns the skwish response.
 

Uses of Stagelet in com.faunos.util.net
 

Classes in com.faunos.util.net that implement Stagelet
 class AsynchStagelet
          A skeletal implementation of an asynchronous stagelet.
 

Methods in com.faunos.util.net that return Stagelet
 Stagelet StageletStack.current()
          Returns the stagelet currently at the top of the stack.
protected abstract  Stagelet AsynchStagelet.nextStage()
          Returns the next stage which will be pushed onto the stack.
 

Methods in com.faunos.util.net with parameters of type Stagelet
 void StageletStack.push(Stagelet stage)
          Pushes the given stage onto this stack.
 

Constructors in com.faunos.util.net with parameters of type Stagelet
StageletStack(Stagelet root)
          Creates a new instance with the given root stage.
 

Uses of Stagelet in com.faunos.util.net.http
 

Classes in com.faunos.util.net.http that implement Stagelet
 class ExceptionStagelet
          A boiler plate HTTP 500 response that prints a stack trace.
 class FileChannelStagelet
          Serves the contents of an HTTP response from a FileChannel.
 class NotFoundStage
          Simple 404 Not Found response.
 class RequestStage
          The first stage in the implementation of HTTP.
 class ResponseHeaderStage
          Writes the HTTP response headers.
 

Methods in com.faunos.util.net.http that return Stagelet
protected  Stagelet AbstractResponseFactory.badRequest(RequestHeader request, StageletStack stack)
           
 Stagelet IdemResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
           
 Stagelet ExceptionResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
           
 Stagelet ResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
          Returns a response stagelet for the given request.
 Stagelet AbstractResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
          Returns the implementation-specific stagelet.
 Stagelet ResponseFactorySwitch.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
           
 Stagelet NotFoundResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
           
 Stagelet UnimplementedVerbResponseFactory.getResponse(RequestHeader request, StageletStack stack, boolean asynchHint)
          Allows only the implemented HTTP verbs to reach the contained ResponseFactory instance.
protected  Stagelet AbstractResponseFactory.notFound(RequestHeader request, StageletStack stack)
           
protected abstract  Stagelet AbstractResponseFactory.prepareResponseImpl(RequestHeader request, StageletStack stack)
          Returns the factory-specific (i.e.
 

Uses of Stagelet in com.faunos.util.net.http.file
 

Methods in com.faunos.util.net.http.file that return Stagelet
protected  Stagelet FileResponseFactory.prepareDirectoryResponse(RequestHeader request, StageletStack stack, File dir)
          Returns the response when the request resolves to a file system directory.
protected  Stagelet FileResponseFactory.prepareResponseImpl(RequestHeader request, StageletStack stack)
           
 



SourceForge.net Logo