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.IOException
Iterator<String> getResponseHeaders(String name) throws IOException
Iterator
if there are no headers of the specified name.IOException
void addRequestHeader(String name, String value) throws IOException
name
- the name of the headervalue
- the value of the headerIOException
Copyright © 2020 Pivotal Software. All rights reserved.