public interface HeadersAwareReceiverWebServiceConnection
WebServiceConnection
implementations.Modifier and Type | Method and Description |
---|---|
void |
addResponseHeader(String name,
String value)
Adds a response header with the given name and value.
|
Iterator<String> |
getRequestHeaderNames()
Returns an iteration over all the header names this request contains.
|
Iterator<String> |
getRequestHeaders(String name)
Returns an iteration over all the string values of the specified header.
|
Iterator<String> getRequestHeaderNames() throws IOException
Iterator
if
there are no headers.IOException
Iterator<String> getRequestHeaders(String name) throws IOException
Iterator
if there are no headers of the specified name.IOException
void addResponseHeader(String name, String value) throws IOException
name
- the name of the headervalue
- the value of the headerIOException
Copyright © 2020 Pivotal Software. All rights reserved.