public class ByteArrayRequestBody extends Object implements AnyRequestModifier
| Constructor and Description |
|---|
ByteArrayRequestBody(byte[] content,
String contentType)
Creates a new body instance
|
public ByteArrayRequestBody(byte[] content,
String contentType)
content - The body content as a byte array.contentType - The body content type.public void applyTo(ServerDriverHttpUriRequest request)
AnyRequestModifierapplyTo in interface AnyRequestModifierrequest - The requestCopyright © 2013. All Rights Reserved.