public final class RequestBody extends Object implements AnyRequestModifier
| Constructor and Description |
|---|
RequestBody(String content,
String contentType)
Creates a new request body instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyTo(ServerDriverHttpUriRequest request)
Apply this modifier to the given request.
|
String |
getContent()
Deprecated.
This shouldn't need to be exposed. Expect it to go away in
the future.
|
String |
getContentType()
Deprecated.
This shouldn't need to be exposed. Expect it to go away in
the future.
|
@Deprecated public String getContent()
@Deprecated public String getContentType()
public void applyTo(ServerDriverHttpUriRequest request)
AnyRequestModifierapplyTo in interface AnyRequestModifierrequest - The requestCopyright © 2013. All Rights Reserved.