| Package | Description |
|---|---|
| org.yamcs.api | |
| org.yamcs.api.rest |
| Modifier and Type | Field and Description |
|---|---|
static MediaType |
MediaType.ANY |
static MediaType |
MediaType.CSV |
static MediaType |
MediaType.JAVA_SERIALIZED_OBJECT |
static MediaType |
MediaType.JSON |
static MediaType |
MediaType.OCTET_STREAM |
static MediaType |
MediaType.PLAIN_TEXT |
static MediaType |
MediaType.PROTOBUF |
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
MediaType.from(String typeString)
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 |
MediaType.getAcceptType(io.netty.handler.codec.http.HttpRequest req) |
static MediaType |
MediaType.getContentType(io.netty.handler.codec.http.HttpRequest req) |
| Modifier and Type | Method and Description |
|---|---|
MediaType |
HttpClient.getAcceptMediaType() |
MediaType |
HttpClient.getSendMediaType() |
| Modifier and Type | Method and Description |
|---|---|
void |
RestClient.setAcceptMediaType(MediaType acceptMediaType) |
void |
HttpClient.setAcceptMediaType(MediaType acceptMediaType) |
void |
RestClient.setSendMediaType(MediaType sendMediaType) |
void |
HttpClient.setSendMediaType(MediaType sendMediaType) |
Copyright © 2019 Space Applications Services. All rights reserved.