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