public class HeaderReader<T> extends Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | HeaderReader.FirstLine | 
| class  | HeaderReader.HeaderLine | 
| class  | HeaderReader.ReadHeader | 
| Constructor and Description | 
|---|
| HeaderReader(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 static final Charset ascii
public HeaderReader(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 © 2016. All Rights Reserved.