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) |
Modifier and Type | Method and Description |
---|---|
HttpResponseWriter |
getHttpResponseWriter() |
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)
public NioReader.State start()
public org.jetlang.fibers.NioFiber getReadFiber()
public void onClose()
public HttpResponseWriter getHttpResponseWriter()
Copyright © 2016. All Rights Reserved.