public class HeaderReader<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
HeaderReader.FirstLine |
class |
HeaderReader.HeaderLine |
class |
HeaderReader.ReadHeader |
| Modifier and Type | Field and Description |
|---|---|
static java.nio.charset.Charset |
ascii |
| Constructor and Description |
|---|
HeaderReader(java.nio.channels.SocketChannel channel,
org.jetlang.fibers.NioFiber fiber,
org.jetlang.fibers.NioControls controls,
HttpRequestHandler<T> handler,
SessionFactory<T> sessionFactory,
SessionDispatcherFactory<T> dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
NioReader.State |
dispatchHttpRequest(HttpRequest headers) |
org.jetlang.fibers.NioFiber |
getReadFiber() |
void |
onClose() |
NioReader.State |
start() |
public HeaderReader(java.nio.channels.SocketChannel channel,
org.jetlang.fibers.NioFiber fiber,
org.jetlang.fibers.NioControls controls,
HttpRequestHandler<T> handler,
SessionFactory<T> sessionFactory,
SessionDispatcherFactory<T> dispatcher)
public NioReader.State start()
public org.jetlang.fibers.NioFiber getReadFiber()
public void onClose()
public NioReader.State dispatchHttpRequest(HttpRequest headers)
Copyright © 2018. All Rights Reserved.