Class BodyTransformer

java.lang.Object
io.vertx.mutiny.httpproxy.BodyTransformer
All Implemented Interfaces:
MutinyDelegate

public class BodyTransformer extends Object implements MutinyDelegate
A synchronous function that transforms an HTTP body entity.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

See Also:
  • BodyTransformer
  • Field Details

  • Constructor Details

    • BodyTransformer

      public BodyTransformer(io.vertx.httpproxy.BodyTransformer delegate)
      Create a new instance of BodyTransformer delegating to the given (non-null) instance of BodyTransformer.
    • BodyTransformer

      public BodyTransformer(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.httpproxy.BodyTransformer getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • consumes

      public boolean consumes(io.vertx.httpproxy.MediaType 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 io.vertx.httpproxy.MediaType produces(io.vertx.httpproxy.MediaType mediaType)
      Returns:
      the media type produced by this transformer, the default implementation returns the same media type
    • newInstance

      public static BodyTransformer newInstance(io.vertx.httpproxy.BodyTransformer delegate)
      Creates a new instance of the BodyTransformer.
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object