public class DispatchingRequest extends Object
MessageDispatcher
to properly dispatch the Soap message.Constructor and Description |
---|
DispatchingRequest(InputStream message,
String address,
Map<String,String> headers) |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
InputStream |
getContent() |
String |
getContentType() |
Optional<String> |
getHeader(String headerName) |
Map<String,String> |
getHeaders() |
public DispatchingRequest(InputStream message, String address, Map<String,String> headers)
public String getAddress()
public InputStream getContent()
public String getContentType()
public Map<String,String> getHeaders()
public Optional<String> getHeader(String headerName)
headerName
- the name of the header which values are requestedOptional
carrying the value of the header, Optional.empty()
if the header does not exist.Copyright © 2018. All rights reserved.