public interface HeadersCodec
| 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 getInstance(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.