public class MediaTypeHeaderDelegate extends Object implements javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate
Modifier and Type | Field and Description |
---|---|
static MediaTypeHeaderDelegate |
INSTANCE |
Constructor and Description |
---|
MediaTypeHeaderDelegate() |
Modifier and Type | Method and Description |
---|---|
Object |
fromString(String type) |
protected static boolean |
isValid(String str) |
static javax.ws.rs.core.MediaType |
parse(String type) |
static boolean |
quoted(String str) |
String |
toString(Object o) |
public static final MediaTypeHeaderDelegate INSTANCE
public Object fromString(String type) throws IllegalArgumentException
fromString
in interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate
IllegalArgumentException
protected static boolean isValid(String str)
public static javax.ws.rs.core.MediaType parse(String type)
public static boolean quoted(String str)
Copyright © 2019 JBoss by Red Hat. All rights reserved.