Uses of Class
com.eqixiac.equinix.core.http.request.RequestBody

Packages that use RequestBody
Package
Description
HTTP request model for the Equinix Java SDK.
  • Uses of RequestBody in com.eqixiac.equinix.core.http.request

    Modifier and Type
    Method
    Description
    RequestBody.bytes(byte[] bytes, String contentType)
    A pre-encoded raw body sent verbatim with the given entity content type (e.g. a hand-built multipart/form-data payload; the request's own content-type header may carry additional parameters such as the multipart boundary).
    RequestBody.form(Map<String,String> fields)
    An application/x-www-form-urlencoded body built from the given fields (field order is preserved on the wire).
    RequestBody.json(Object payload)
    A body whose payload object is serialized to JSON at dispatch time, honoring the request's content type and any Jackson FilterProvider set on the request.