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,
IoBufferPool bufferFactory) |
Modifier and Type | Method and Description |
---|---|
NioReader.State |
dispatchHttpRequest(HttpRequest headers) |
org.jetlang.fibers.NioFiber |
getReadFiber() |
void |
onClose() |
void |
onException(java.lang.Throwable processingException,
java.nio.channels.SocketChannel channel) |
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, IoBufferPool bufferFactory)
public NioReader.State start()
public org.jetlang.fibers.NioFiber getReadFiber()
public void onClose()
public void onException(java.lang.Throwable processingException, java.nio.channels.SocketChannel channel)
public NioReader.State dispatchHttpRequest(HttpRequest headers)
Copyright © 2019. All Rights Reserved.