public class MultipartRequestBuilder<T> extends Object implements RequestBuilder<T>
| Constructor and Description |
|---|
MultipartRequestBuilder() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBody(T data)
This method creates the body of a request for a Pipe to use.
|
String |
getContentType() |
MarshallingConfig |
getMarshallingConfig()
The marshalling config sets options for reading and processing data
|
void |
setMarshallingConfig(MarshallingConfig marshallingConfig) |
public byte[] getBody(T data)
RequestBuildergetBody in interface RequestBuilder<T>data - an object to form a body out of.public String getContentType()
getContentType in interface RequestBuilder<T>public MarshallingConfig getMarshallingConfig()
RequestBuildergetMarshallingConfig in interface RequestBuilder<T>public void setMarshallingConfig(MarshallingConfig marshallingConfig)
Copyright © 2016 JBoss by Red Hat. All rights reserved.