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) |
@ConstructorProperties(value={"base","type"}) protected MediaType(@Nullable String base, @Nullable String type)
public static MediaType.Builder<?> builder()
public MediaType.Builder<?> toBuilder()
@Nullable public String getBase()
@Nullable public String getType()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.