Class BodyTransformer

  • All Implemented Interfaces:
    RxDelegate

    public class BodyTransformer
    extends Object
    implements 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.

    • Constructor Detail

      • BodyTransformer

        public BodyTransformer​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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