Class BodyTransformer

java.lang.Object
io.vertx.rxjava3.httpproxy.BodyTransformer
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class BodyTransformer extends Object implements io.vertx.lang.rx.RxDelegate
A synchronous function that transforms an HTTP body entity.

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<BodyTransformer> __TYPE_ARG
  • Constructor Details

    • BodyTransformer

      public BodyTransformer(BodyTransformer delegate)
    • BodyTransformer

      public BodyTransformer(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getDelegate

      public BodyTransformer getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • consumes

      public boolean consumes(MediaType mediaType)
      Parameters:
      mediaType -
      Returns:
      whether this transformer consumes the mediaType, mediaType can be null when the HTTP head does not present a body, the default implementation returns true
    • produces

      public MediaType produces(MediaType mediaType)
      Parameters:
      mediaType -
      Returns:
      the media type produced by this transformer, the default implementation returns the same media type
    • newInstance

      public static BodyTransformer newInstance(BodyTransformer arg)