public class MediaType extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MediaType.Builder<T extends MediaType.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
MediaType(String base,
String type) |
Modifier and Type | Method and Description |
---|---|
static MediaType.Builder<?> |
builder() |
boolean |
equals(Object obj) |
String |
getBase() |
String |
getType() |
int |
hashCode() |
protected com.google.common.base.MoreObjects.ToStringHelper |
string() |
MediaType.Builder<?> |
toBuilder() |
String |
toString() |
public static MediaType.Builder<?> builder()
public MediaType.Builder<?> toBuilder()
protected com.google.common.base.MoreObjects.ToStringHelper string()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.