Class EncodedMediaType
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.core.EncodedMediaType
-
- All Implemented Interfaces:
ContentType
public class EncodedMediaType extends Object implements ContentType
Wrapper around MediaType that saves the toString value, to avoid the expensive header delegate processing.
-
-
Constructor Summary
Constructors Constructor Description EncodedMediaType(javax.ws.rs.core.MediaType mediaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCharset()
String
getEncoded()
javax.ws.rs.core.MediaType
getMediaType()
String
toString()
-
-
-
Method Detail
-
getMediaType
public javax.ws.rs.core.MediaType getMediaType()
- Specified by:
getMediaType
in interfaceContentType
-
getEncoded
public String getEncoded()
- Specified by:
getEncoded
in interfaceContentType
-
getCharset
public String getCharset()
- Specified by:
getCharset
in interfaceContentType
-
-