Utility class that provides a String as reactive content.
| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final Charset | |
| private final String | |
| private StringContent. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public long | |
| protected void | onRequest(Subscriber<? super Content.
Implements abstract org. |
| public boolean | rewind()
Overrides default org. Rewinds this content, if possible. |
| bytes | back to summary |
|---|---|
| private final byte[] bytes | |
| encoding | back to summary |
|---|---|
| private final Charset encoding | |
| mediaType | back to summary |
|---|---|
| private final String mediaType | |
| state | back to summary |
|---|---|
| private StringContent. | |
| StringContent | back to summary |
|---|---|
| public StringContent(String string, String mediaType, Charset encoding) | |
| getContentType | back to summary |
|---|---|
| public String getContentType() Implements org.
| |
| getLength | back to summary |
|---|---|
| public long getLength() Implements org.
| |
| onRequest | back to summary |
|---|---|
| protected void onRequest(Subscriber<? super Content. Implements abstract org.
| |
| rewind | back to summary |
|---|---|
| public boolean rewind() Overrides default org. Doc from org. Rewinds this content, if possible.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final StringContent. | |
| public static final StringContent. | |
| public static final StringContent. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static StringContent. | |
| public static StringContent. |
| COMPLETE | back to summary |
|---|---|
| public static final StringContent. | |
| CONTENT | back to summary |
|---|---|
| public static final StringContent. | |
| INITIAL | back to summary |
|---|---|
| public static final StringContent. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static StringContent. | |
| values | back to summary |
|---|---|
| public static StringContent. | |