public interface ODataHeaders
ODataRequest
,
ODataResponse
Modifier and Type | Method and Description |
---|---|
String |
getHeader(String name)
Gets the value of the header identified by the given name.
|
Collection<String> |
getHeaderNames()
Gets header names.
|
String |
removeHeader(String name)
Removes the header identified by the given name.
|
ODataHeaders |
setHeader(String name,
String value)
Add the specified (custom) header (header name is case-insensitive).
|
String getHeader(String name)
name
- name of the header to be retrieved.Collection<String> getHeaderNames()
ODataHeaders setHeader(String name, String value)
name
- header key.value
- header value.Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.