Uses of Interface
io.vertx.httpproxy.MediaType
-
Packages that use MediaType Package Description io.vertx.httpproxy -
-
Uses of MediaType in io.vertx.httpproxy
Fields in io.vertx.httpproxy declared as MediaType Modifier and Type Field Description static MediaTypeMediaType. ANYstatic MediaTypeMediaType. APPLICATIONstatic MediaTypeMediaType. APPLICATION_JSONstatic MediaTypeMediaType. APPLICATION_OCTET_STREAMstatic MediaTypeMediaType. TEXTstatic MediaTypeMediaType. TEXT_PLAINMethods in io.vertx.httpproxy that return MediaType Modifier and Type Method Description static MediaTypeMediaType. parse(String s)Parse a media type.default MediaTypeBodyTransformer. produces(MediaType mediaType)Methods in io.vertx.httpproxy that return types with arguments of type MediaType Modifier and Type Method Description static List<MediaType>MediaType. parseAcceptHeader(String header)Parse an accept header which is a list of media typesMethods in io.vertx.httpproxy with parameters of type MediaType Modifier and Type Method Description booleanMediaType. accepts(MediaType other)static BodyBody. body(Buffer buffer, MediaType mediaType)Create a newBodyinstance.static BodyBody. body(ReadStream<Buffer> stream, long len, MediaType mediatype)default booleanBodyTransformer. consumes(MediaType mediaType)default MediaTypeBodyTransformer. produces(MediaType mediaType)static BodyTransformerBodyTransformers. transform(MediaType consumes, MediaType produces, long maxBufferedBytes, Function<Buffer,Buffer> transformer)Create a body transformer that transformsconsumesmedia type to theproducesmedia type, by applying thetransformerfunction.static BodyTransformerBodyTransformers. transform(MediaType consumes, MediaType produces, Function<Buffer,Buffer> transformer)LikeBodyTransformers.transform(MediaType, MediaType, long, Function)withBodyTransformers.DEFAULT_MAX_BUFFERED_SIZEmaximum buffered bytes.
-