| Modifier and Type | Method and Description |
|---|---|
byte[] |
Request.getBinaryPayload()
Gets the request payload as a `byte[]`.
|
byte[] |
Response.getBinaryPayload()
Gets the response payload as a `byte[]`.
|
Entity[] |
Entity.getBodyParts()
Given an entity, gets its body parts.
|
Entity[] |
Request.getBodyParts()
Extracts body parts from the request.
|
Entity[] |
Response.getBodyParts()
Extracts body parts from the response.
|
byte[] |
Entity.getByteArray()
Gets the entity payload as a `byte[]`.
|
ByteChannel |
Entity.getByteChannel()
Given an entity, gets the entity body as a byte channel.
|
ByteChannel |
Request.getByteChannel()
Gets the request payload as a `ByteChannel` except in the case of multiparts.
|
ByteChannel |
Response.getByteChannel()
Gets the response payload as a `ByteChannel` except in the case of multiparts.
|
org.json.JSONObject |
Entity.getJson()
Extracts `json` payload from the entity.
|
org.json.JSONArray |
Entity.getJsonArray()
Extracts `json array` payload from the entity.
|
org.json.JSONArray |
Request.getJsonArrayPayload()
Extracts `json array` payload from the request.
|
org.json.JSONArray |
Response.getJsonArrayPayload()
Extracts `json array` payload from the response.
|
org.json.JSONObject |
Request.getJsonPayload()
Extracts `json` payload from the request.
|
org.json.JSONObject |
Response.getJsonPayload()
Extracts `json` payload from the response.
|
String |
Entity.getText()
Extracts `text` payload from the entity.
|
String |
Request.getTextPayload()
Extracts `text` payload from the request.
|
String |
Response.getTextPayload()
Extracts `text` payload from the response.
|
org.ballerinalang.jvm.values.api.BXML |
Entity.getXml()
Extracts `xml` payload from the entity.
|
org.ballerinalang.jvm.values.api.BXML |
Request.getXmlPayload()
Extracts `xml` payload from the request.
|
org.ballerinalang.jvm.values.api.BXML |
Response.getXmlPayload()
Extracts `xml` payload from the response.
|
Copyright © 2021 WSO2. All rights reserved.