Interface FormPartEvent
- All Superinterfaces:
PartEvent
Represents an event triggered for a form field. Contains the
value, besides the headers
exposed through
PartEvent.
Multipart form fields trigger one FormPartEvent, as
described here.
- Since:
- 6.0
- Author:
- Arjen Poutsma
-
Method Summary
Modifier and TypeMethodDescriptionstatic reactor.core.publisher.Mono<FormPartEvent> static reactor.core.publisher.Mono<FormPartEvent> value()Return the form field value.
-
Method Details
-
value
String value()Return the form field value. -
create
- Parameters:
name- the name of the partvalue- the form field value- Returns:
- a single event stream
-
create
static reactor.core.publisher.Mono<FormPartEvent> create(String name, String value, @Nullable Consumer<HttpHeaders> headersConsumer) - Parameters:
name- the name of the partvalue- the form field valueheadersConsumer- used to change default headers. Can benull.- Returns:
- a single event stream
-