public interface HeadersAwareSenderWebServiceConnection
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestHeader(String name,
String value)
Adds a request header with the given name and value.
|
Iterator<String> |
getResponseHeaderNames()
Returns an iteration over all the header names this request contains.
|
Iterator<String> |
getResponseHeaders(String name)
Returns an iteration over all the string values of the specified header.
|
Iterator<String> getResponseHeaderNames() throws IOException
Iterator if
there are no headers.IOExceptionIterator<String> getResponseHeaders(String name) throws IOException
Iterator
if there are no headers of the specified name.IOExceptionvoid addRequestHeader(String name, String value) throws IOException
name - the name of the headervalue - the value of the headerIOExceptionCopyright © 2017 Pivotal Software. All rights reserved.