public static final class RequestMessage.Builder extends Object
RequestMessage.| Modifier and Type | Field and Description |
|---|---|
static String |
OP_PROCESSOR_NAME |
| Modifier and Type | Method and Description |
|---|---|
RequestMessage.Builder |
add(Object... keyValues) |
RequestMessage.Builder |
addArg(String key,
Object val) |
RequestMessage |
create()
Create the request message given the settings provided to the
RequestMessage.Builder. |
RequestMessage.Builder |
overrideRequestId(UUID requestId)
Override the request identifier with a specified one, otherwise the
RequestMessage.Builder will randomly generate
a UUID. |
RequestMessage.Builder |
processor(String processor)
If this value is not set in the builder then the
RequestMessage.processor defaults to
the standard op processor (empty string). |
public static final String OP_PROCESSOR_NAME
public RequestMessage.Builder processor(String processor)
RequestMessage.processor defaults to
the standard op processor (empty string).processor - the name of the processorpublic RequestMessage.Builder overrideRequestId(UUID requestId)
RequestMessage.Builder will randomly generate
a UUID.public RequestMessage.Builder addArg(String key, Object val)
public RequestMessage.Builder add(Object... keyValues)
public RequestMessage create()
RequestMessage.Builder.Copyright © 2013–2016 Apache Software Foundation. All rights reserved.