public class HttpContext extends Object implements AttributeStorage
| Modifier | Constructor and Description |
|---|---|
protected |
HttpContext(AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static HttpContext |
get(FilterChainContext ctx) |
AttributeHolder |
getAttributes()
Get associated
AttributeHolder. |
Closeable |
getCloseable() |
AttributeStorage |
getContextStorage() |
OutputSink |
getOutputSink() |
static HttpContext |
newInstance(FilterChainContext ctx,
AttributeStorage attributeStorage,
OutputSink outputSink,
Closeable closeable) |
protected HttpContext(AttributeStorage attributeStorage, OutputSink outputSink, Closeable closeable)
public final AttributeHolder getAttributes()
AttributeStorageAttributeHolder.
Implementation may return null if AttributeHolder wasn't
initialized yet.getAttributes in interface AttributeStorageAttributeHolder.
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(FilterChainContext ctx, AttributeStorage attributeStorage, OutputSink outputSink, Closeable closeable)
public static HttpContext get(FilterChainContext ctx)
Copyright © 2013 Oracle Corporation. All rights reserved.