public class HttpContext extends java.lang.Object implements AttributeStorage
| Modifier | Constructor and Description |
|---|---|
protected |
HttpContext(AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable,
HttpRequestPacket request) |
| Modifier and Type | Method and Description |
|---|---|
HttpContext |
attach(FilterChainContext ctx) |
void |
close() |
static HttpContext |
get(FilterChainContext ctx) |
AttributeHolder |
getAttributes() |
Closeable |
getCloseable() |
AttributeStorage |
getContextStorage() |
OutputSink |
getOutputSink() |
HttpRequestPacket |
getRequest() |
static HttpContext |
newInstance(AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable,
HttpRequestPacket request) |
protected HttpContext(AttributeStorage attributeStorage, OutputSink outputSink, Closeable closeable, HttpRequestPacket request)
public HttpRequestPacket getRequest()
public HttpContext attach(FilterChainContext ctx)
public final AttributeHolder getAttributes()
getAttributes in interface AttributeStoragepublic AttributeStorage getContextStorage()
public OutputSink getOutputSink()
public Closeable getCloseable()
public void close()
public static HttpContext newInstance(AttributeStorage attributeStorage, OutputSink outputSink, Closeable closeable, HttpRequestPacket request)
public static HttpContext get(FilterChainContext ctx)
Copyright © 2018 Oracle Corporation. All Rights Reserved.