public abstract static class PayloadImpl.Inbound extends Object implements Payload.Inbound
| Constructor and Description |
|---|
Inbound() |
| Modifier and Type | Method and Description |
|---|---|
String |
getHeaderName()
Returns the name of the header that should be set in the outgoing and
incoming http request or response.
|
static PayloadImpl.Inbound |
newInstance(String payloadContentType,
InputStream is)
Creates a new Inbound Payload of the given content type, read from
the specified InputStream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpartspublic static PayloadImpl.Inbound newInstance(String payloadContentType, InputStream is) throws IOException
payloadContentType - content-type from the inbound http request or responseis - the InputStream from which the Payload should be readIOExceptionpublic String getHeaderName()
Payload.InboundgetHeaderName in interface Payload.InboundCopyright © 2019. All rights reserved.