public class HttpContext extends 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()
Get associated
AttributeHolder . |
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()
AttributeStorage
AttributeHolder
.
Implementation may return null if AttributeHolder
wasn't
initialized yet.getAttributes
in interface AttributeStorage
AttributeHolder
.
Implementation may return null if AttributeHolder
wasn't
initialized yet.public 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 © 2015 Oracle Corporation. All rights reserved.