Uses of Class
org.yamcs.http.MediaType
-
Uses of MediaType in org.yamcs.http
Modifier and TypeFieldDescriptionstatic final MediaType
MediaType.ANY
static final MediaType
MediaType.CSV
static final MediaType
MediaType.JSON
static final MediaType
MediaType.OCTET_STREAM
static final MediaType
MediaType.PLAIN_TEXT
static final MediaType
MediaType.PROTOBUF
Modifier and TypeMethodDescriptionRouteContext.deriveTargetContentType()
static MediaType
RouteContext.deriveTargetContentType
(io.netty.handler.codec.http.HttpRequest httpRequest) Derives an applicable content type for the output.static MediaType
Returns one of the static members (OCTET_STREAM, CSV, etc) if this is a known type or a new object if the type is unknown.static MediaType
HttpRequestHandler.getContentType
(io.netty.handler.codec.http.HttpRequest req)