Uses of Interface
io.vertx.httpproxy.MediaType
-
Packages that use MediaType Package Description io.vertx.httpproxy io.vertx.rxjava3.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. -
Uses of MediaType in io.vertx.rxjava3.httpproxy
Methods in io.vertx.rxjava3.httpproxy that return MediaType Modifier and Type Method Description MediaTypeBodyTransformer. produces(MediaType mediaType)Methods in io.vertx.rxjava3.httpproxy with parameters of type MediaType Modifier and Type Method Description static BodyBody. body(Flowable<Buffer> stream, long len, MediaType mediatype)static BodyBody. body(Buffer buffer, MediaType mediaType)Create a newBodyinstance.booleanBodyTransformer. consumes(MediaType mediaType)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)
-