public class ResponseHeaders extends Object
| Constructor and Description |
|---|
ResponseHeaders() |
| Modifier and Type | Method and Description |
|---|---|
Optional<Long> |
getContentLength()
Get the value of the "Content-Length" header, if one is present
|
Optional<String> |
getValue(String key)
Return the value for the given key, if one exists.
|
public Optional<String> getValue(String key)
key - The key to search forCopyright © 2018. All rights reserved.