Package | Description |
---|---|
org.apache.olingo.client.api.communication.header | |
org.apache.olingo.client.api.communication.request | |
org.apache.olingo.client.api.communication.response |
Modifier and Type | Method and Description |
---|---|
static HeaderName |
HeaderName.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HeaderName[] |
HeaderName.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
ODataHeaders.getHeader(HeaderName name)
Gets the value of the header identified by the given name.
|
String |
ODataHeaders.removeHeader(HeaderName name)
Removes the header identified by the given name.
|
ODataHeaders |
ODataHeaders.setHeader(HeaderName name,
String value)
Add the specified header.
|
Modifier and Type | Method and Description |
---|---|
ODataRequest |
ODataRequest.addCustomHeader(HeaderName name,
String value)
Adds a custom OData request header.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
ODataResponse.getHeader(HeaderName name)
Gets header value of the given header.
|
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.