public interface HeadersCodec
| Modifier and Type | Field and Description |
|---|---|
static Map<String,HeadersCodec> |
INSTANCES |
| Modifier and Type | Method and Description |
|---|---|
String |
contentType() |
Map<String,String> |
decode(InputStream stream) |
void |
encode(OutputStream stream,
Map<String,String> headers) |
static HeadersCodec |
getInstance(String contentType) |
static HeadersCodec |
loadInstance(String contentType) |
static final Map<String,HeadersCodec> INSTANCES
static HeadersCodec getInstance(String contentType)
static HeadersCodec loadInstance(String contentType)
String contentType()
void encode(OutputStream stream, Map<String,String> headers) throws IOException
IOExceptionMap<String,String> decode(InputStream stream) throws IOException
IOExceptionCopyright © 2015–2018. All rights reserved.