|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of MediaType in org.cruxframework.crux.core.server.rest.core |
|---|
| Methods in org.cruxframework.crux.core.server.rest.core that return MediaType | |
|---|---|
MediaType |
HttpHeaders.getMediaType()
|
static MediaType |
MediaType.valueOf(String type)
Creates a new instance of MediaType by parsing the supplied string. |
MediaType |
MediaType.withCharset(String charset)
Create a new MediaType instance with the same type, subtype and parameters
copied from the original instance and the supplied ""charset"" parameter. |
| Methods in org.cruxframework.crux.core.server.rest.core that return types with arguments of type MediaType | |
|---|---|
List<MediaType> |
HttpHeaders.getAcceptableMediaTypes()
|
| Methods in org.cruxframework.crux.core.server.rest.core with parameters of type MediaType | |
|---|---|
boolean |
MediaType.isCompatible(MediaType other)
Check if this media type is compatible with another media type. |
void |
HttpHeaders.setMediaType(MediaType mediaType)
|
| Method parameters in org.cruxframework.crux.core.server.rest.core with type arguments of type MediaType | |
|---|---|
void |
HttpHeaders.setAcceptableMediaTypes(List<MediaType> acceptableMediaTypes)
|
| Uses of MediaType in org.cruxframework.crux.core.server.rest.core.registry |
|---|
| Method parameters in org.cruxframework.crux.core.server.rest.core.registry with type arguments of type MediaType | |
|---|---|
protected boolean |
Segment.isResponseMediaTypeAllowed(List<MediaType> accepts)
|
| Uses of MediaType in org.cruxframework.crux.core.server.rest.spi |
|---|
| Methods in org.cruxframework.crux.core.server.rest.spi that return types with arguments of type MediaType | |
|---|---|
static List<MediaType> |
HttpUtil.extractAccepts(MultivaluedMap<String,String> requestHeaders)
|
| Uses of MediaType in org.cruxframework.crux.core.server.rest.util |
|---|
| Methods in org.cruxframework.crux.core.server.rest.util that return MediaType | |
|---|---|
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided)
|
| Methods in org.cruxframework.crux.core.server.rest.util that return types with arguments of type MediaType | |
|---|---|
static List<MediaType> |
MediaTypeHelper.parseHeader(String header)
|
| Methods in org.cruxframework.crux.core.server.rest.util with parameters of type MediaType | |
|---|---|
static int |
MediaTypeHelper.compareWeight(MediaType one,
MediaType two)
|
static boolean |
MediaTypeHelper.equivalent(MediaType m1,
MediaType m2)
|
static boolean |
MediaTypeHelper.equivalentParams(MediaType m1,
MediaType m2)
|
static float |
MediaTypeHelper.getQ(MediaType type)
|
static float |
MediaTypeHelper.getQWithParamInfo(MediaType type)
|
static boolean |
MediaTypeHelper.sameWeight(MediaType one,
MediaType two)
|
| Method parameters in org.cruxframework.crux.core.server.rest.util with type arguments of type MediaType | |
|---|---|
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided)
|
static MediaType |
MediaTypeHelper.getBestMatch(List<MediaType> desired,
List<MediaType> provided)
|
static void |
MediaTypeHelper.sortByWeight(List<MediaType> types)
|
| Uses of MediaType in org.cruxframework.crux.core.server.rest.util.header |
|---|
| Methods in org.cruxframework.crux.core.server.rest.util.header that return MediaType | |
|---|---|
static MediaType |
MediaTypeHeaderParser.fromString(String type)
|
static MediaType |
MediaTypeHeaderParser.parse(String type)
|
| Methods in org.cruxframework.crux.core.server.rest.util.header with parameters of type MediaType | |
|---|---|
static String |
MediaTypeHeaderParser.toString(MediaType type)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||