Package io.vertx.httpproxy
Interface BodyTransformer
-
@Unstable public interface BodyTransformerA synchronous function that transforms an HTTP body entity.
-
-
Method Detail
-
consumes
default boolean consumes(MediaType mediaType)
- Returns:
- whether this transformer consumes the
mediaType,mediaTypecan benullwhen the HTTP head does not present a body, the default implementation returnstrue
-
produces
default MediaType produces(MediaType mediaType)
- Returns:
- the media type produced by this transformer, the default implementation returns the same media type
-
-