Package | Description |
---|---|
oracle.sdp.daf.action.api |
Modifier and Type | Interface and Description |
---|---|
interface |
CalloutBuilder
Callout builder.
|
interface |
ExternalCalloutBuilder
Used for in-action callouts.
|
interface |
ResponseBuilder
Builds the response.
|
Modifier and Type | Method and Description |
---|---|
MessageBuilder |
MessageBuilder.addHeader(String key,
String value)
Adds a header.
|
MessageBuilder |
MessageBuilder.ignoreAllRequestHeaders(boolean ignore)
Remove all the headers which are from client request message.
|
MessageBuilder |
MessageBuilder.withBodyAsObject(Object body)
Sets the output as an object such as an XMLNode, String or JSON.
|
MessageBuilder |
MessageBuilder.withBodyAsStream(InputStream body)
Sets the output of a body as an input stream.
|
MessageBuilder |
MessageBuilder.withHeader(String key,
String value)
Sets a header.
|
MessageBuilder |
MessageBuilder.withHeaders(Map<String,String> headers)
Sets multiple headers.Overwrite the value which is set by
addHeader(String, String) before in the invocation sequence. |
MessageBuilder |
MessageBuilder.withoutHeader(String key)
Send the message without this header.
|