| Modifier and Type | Method and Description |
|---|---|
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.
|
Entity |
Request.getEntity() |
Entity |
Response.getEntity() |
Entity |
Request.getEntityWithoutBody() |
Entity |
Response.getEntityWithoutBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
Entity.setBodyParts(Entity[] bodyParts,
String contentType)
Set multiparts as the payload.
|
void |
Request.setBodyParts(Entity[] bodyParts,
String contentType)
Set multiparts as the payload.
|
void |
Response.setBodyParts(Entity[] bodyParts,
String contentType)
Set multiparts as the payload.
|
void |
Request.setEntity(Entity entity) |
void |
Response.setEntity(Entity entity) |
Copyright © 2021 WSO2. All rights reserved.