public interface Headers
extends java.lang.Iterable<com.atlassian.fugue.Pair<java.lang.String,java.lang.String>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Headers.Builder |
static class |
Headers.Name |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.fugue.Option<java.nio.charset.Charset> |
contentCharset()
Returns the currently set content charset value, if any.
|
com.atlassian.fugue.Option<java.lang.Integer> |
contentLength() |
java.lang.String |
contentType()
Returns the IANA media type, minus charset information, for the current entity, if any.
|
com.atlassian.fugue.Option<java.lang.String> |
get(java.lang.String name) |
com.atlassian.fugue.Option<java.lang.String> get(java.lang.String name)
@NotNull java.lang.String contentType()
getContentCharset(). To get the full Content-Type header value including charset if
specified, use get("Content-Type").@NotNull com.atlassian.fugue.Option<java.nio.charset.Charset> contentCharset()
com.atlassian.fugue.Option<java.lang.Integer> contentLength()
Copyright © 2012-2013 Atlassian. All Rights Reserved.