public class RequestBodyEntity extends BaseRequest
connection, httpRequest| Modifier and Type | Method and Description |
|---|---|
RequestBodyEntity |
body(java.lang.String bodyAsString)
Returns this object afer setting its body as a String.
|
java.lang.Object |
getBody()
Returns the body encapsulated by this request.
|
asString, getHttpRequestpublic RequestBodyEntity body(java.lang.String bodyAsString)
bodyAsString - body as a Stringpublic java.lang.Object getBody()
Copyright © 2017, 2025, Oracle and/or its affiliates. All rights reserved.