public class StaticHtml<T> extends Object implements HttpHandler<T>
Constructor and Description |
---|
StaticHtml(java.nio.file.Path resource) |
StaticHtml(java.nio.file.Path resource,
Charset charset) |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.jetlang.fibers.NioFiber readFiber,
HttpRequest headers,
HttpResponseWriter writer,
T sessionState) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
start
public StaticHtml(java.nio.file.Path resource)
public StaticHtml(java.nio.file.Path resource, Charset charset)
public void handle(org.jetlang.fibers.NioFiber readFiber, HttpRequest headers, HttpResponseWriter writer, T sessionState)
handle
in interface HttpHandler<T>
Copyright © 2016. All Rights Reserved.