Class EncodedMediaType
java.lang.Object
org.jboss.resteasy.reactive.server.core.EncodedMediaType
- All Implemented Interfaces:
ContentType
Wrapper around MediaType that saves the toString value, to avoid
the expensive header delegate processing.
It also harmonizes the use of charset
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EncodedMediaType
public EncodedMediaType(jakarta.ws.rs.core.MediaType mediaType)
-
-
Method Details
-
toString
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfaceContentType
-
getEncoded
- Specified by:
getEncoded
in interfaceContentType
-
getCharset
- Specified by:
getCharset
in interfaceContentType
-