接口 FormPartEvent

所有超级接口:
PartEvent
所有已知实现类:
DefaultPartEvents.DefaultFormFieldPartEvent

public interface FormPartEvent extends 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.

从以下版本开始:
4.0
作者:
Arjen Poutsma
  • 方法详细资料

    • value

      String value()
      Return the form field value.
    • create

      static reactor.core.publisher.Mono<FormPartEvent> create(String name, String value)
      Creates a stream with a single FormPartEven based on the given name and value.
      参数:
      name - the name of the part
      value - the form field value
      返回:
      a single event stream
    • create

      static reactor.core.publisher.Mono<FormPartEvent> create(String name, String value, @Nullable Consumer<HttpHeaders> headersConsumer)
      Creates a stream with a single FormPartEven based on the given name and value.
      参数:
      name - the name of the part
      value - the form field value
      headersConsumer - used to change default headers. Can be null.
      返回:
      a single event stream