| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final String | |
| private final ContentType |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static SimpleBody | |
| pack-priv static SimpleBody | |
| public byte[] | |
| public String | |
| public ContentType | |
| public boolean | |
| public boolean | |
| public String |
| bodyAsBytes | back to summary |
|---|---|
| private final byte[] bodyAsBytes | |
| bodyAsText | back to summary |
|---|---|
| private final String bodyAsText | |
| contentType | back to summary |
|---|---|
| private final ContentType contentType | |
| SimpleBody | back to summary |
|---|---|
| pack-priv SimpleBody(final byte[] bodyAsBytes, final String bodyAsText, final ContentType contentType) | |
| create | back to summary |
|---|---|
| pack-priv static SimpleBody create(final String body, final ContentType contentType) | |
| create | back to summary |
|---|---|
| pack-priv static SimpleBody create(final byte[] body, final ContentType contentType) | |
| getBodyBytes | back to summary |
|---|---|
| public byte[] getBodyBytes() | |
| getBodyText | back to summary |
|---|---|
| public String getBodyText() | |
| getContentType | back to summary |
|---|---|
| public ContentType getContentType() | |
| isBytes | back to summary |
|---|---|
| public boolean isBytes() | |
| isText | back to summary |
|---|---|
| public boolean isText() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |