Class MediaTypeHeaderDelegate
- java.lang.Object
-
- org.jboss.resteasy.plugins.delegates.MediaTypeHeaderDelegate
-
- All Implemented Interfaces:
jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.MediaType>
public class MediaTypeHeaderDelegate extends Object implements jakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.MediaType>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static MediaTypeHeaderDelegate
INSTANCE
-
Constructor Summary
Constructors Constructor Description MediaTypeHeaderDelegate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
clearCache()
jakarta.ws.rs.core.MediaType
fromString(String type)
protected static boolean
isValid(String str)
static jakarta.ws.rs.core.MediaType
parse(String type)
static boolean
quoted(String str)
String
toString(jakarta.ws.rs.core.MediaType type)
-
-
-
Field Detail
-
INSTANCE
public static final MediaTypeHeaderDelegate INSTANCE
-
-
Method Detail
-
fromString
public jakarta.ws.rs.core.MediaType fromString(String type) throws IllegalArgumentException
- Specified by:
fromString
in interfacejakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.MediaType>
- Throws:
IllegalArgumentException
-
isValid
protected static boolean isValid(String str)
-
parse
public static jakarta.ws.rs.core.MediaType parse(String type)
-
quoted
public static boolean quoted(String str)
-
toString
public String toString(jakarta.ws.rs.core.MediaType type)
- Specified by:
toString
in interfacejakarta.ws.rs.ext.RuntimeDelegate.HeaderDelegate<jakarta.ws.rs.core.MediaType>
-
clearCache
public static void clearCache()
-
-