PartEvent and subtypes.
| Modifier and Type | Class and Description |
|---|---|
| private abstract static class | |
| private static class | DefaultPartEvents.
Default implementation of |
| private static class | DefaultPartEvents.
Default implementation of |
| private static class | DefaultPartEvents.
Default implementation of |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static PartEvent | |
| public static PartEvent | |
| public static FilePartEvent | |
| public static FilePartEvent | |
| public static FormPartEvent | |
| public static FormPartEvent |
| DefaultPartEvents | back to summary |
|---|---|
| pack-priv DefaultPartEvents() | |
| create | back to summary |
|---|---|
| public static PartEvent create(HttpHeaders headers, DataBuffer dataBuffer, boolean isLast) | |
| create | back to summary |
|---|---|
| public static PartEvent create(HttpHeaders headers) | |
| file | back to summary |
|---|---|
| public static FilePartEvent file(HttpHeaders headers, DataBuffer dataBuffer, boolean isLast) | |
| file | back to summary |
|---|---|
| public static FilePartEvent file(HttpHeaders headers) | |
| form | back to summary |
|---|---|
| public static FormPartEvent form(HttpHeaders headers) | |
| form | back to summary |
|---|---|
| public static FormPartEvent form(HttpHeaders headers, String value) | |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpHeaders |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public HttpHeaders | headers()
Implements org. Return the headers of the part that this event belongs to. |
| headers | back to summary |
|---|---|
| private final HttpHeaders headers | |
| AbstractPartEvent | back to summary |
|---|---|
| protected AbstractPartEvent(HttpHeaders headers) | |
| headers | back to summary |
|---|---|
| public HttpHeaders headers() Implements org. Doc from org. Return the headers of the part that this event belongs to.
| |
FilePartEvent.
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| DefaultFilePartEvent | back to summary |
|---|---|
| public DefaultFilePartEvent(HttpHeaders headers) | |
| DefaultFilePartEvent | back to summary |
|---|---|
| public DefaultFilePartEvent(HttpHeaders headers, DataBuffer content, boolean last) | |
FormPartEvent.
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataBuffer | content()
Implements org. Return the content of this event. |
| public boolean | isLast()
Implements org. Indicates whether this is the last event of a particular part. |
| public String | value()
Implements org. Return the form field value. |
| EMPTY | back to summary |
|---|---|
| private static final String EMPTY | |
| value | back to summary |
|---|---|
| private final String value | |
| DefaultFormFieldPartEvent | back to summary |
|---|---|
| public DefaultFormFieldPartEvent(HttpHeaders headers) | |
| DefaultFormFieldPartEvent | back to summary |
|---|---|
| public DefaultFormFieldPartEvent(HttpHeaders headers, String value) | |
| content | back to summary |
|---|---|
| public DataBuffer content() Implements org. Doc from org. Return the content of this event. The returned buffer must be consumed or released.
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() Implements org. Doc from org. Indicates whether this is the last event of a particular part.
| |
| value | back to summary |
|---|---|
| public String value() Implements org. Doc from org. Return the form field value.
| |
PartEvent.
| Modifier and Type | Field and Description |
|---|---|
| private final DataBuffer | |
| private static final DataBuffer | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataBuffer | content()
Implements org. Return the content of this event. |
| public boolean | isLast()
Implements org. Indicates whether this is the last event of a particular part. |
| content | back to summary |
|---|---|
| private final DataBuffer content | |
| EMPTY | back to summary |
|---|---|
| private static final DataBuffer EMPTY | |
| last | back to summary |
|---|---|
| private final boolean last | |
| DefaultPartEvent | back to summary |
|---|---|
| public DefaultPartEvent(HttpHeaders headers) | |
| DefaultPartEvent | back to summary |
|---|---|
| public DefaultPartEvent(HttpHeaders headers, DataBuffer content, boolean last) | |
| content | back to summary |
|---|---|
| public DataBuffer content() Implements org. Doc from org. Return the content of this event. The returned buffer must be consumed or released.
| |
| isLast | back to summary |
|---|---|
| public boolean isLast() Implements org. Doc from org. Indicates whether this is the last event of a particular part.
| |