Modifier and Type | Field and Description |
---|---|
protected String |
base |
protected String |
type |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
T |
base(String base) |
MediaType |
build() |
T |
fromMediaType(MediaType in) |
protected abstract T |
self() |
T |
type(String type) |
protected abstract T self()
public T base(String base)
MediaType.getBase()
public T type(String type)
MediaType.getType()
public MediaType build()
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.