Class ResourceWriter
java.lang.Object
org.jboss.resteasy.reactive.common.model.ResourceWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The comparison for now is simple: 1) Application provided writers come first 2) Writers higher priority come first (same as writer interceptors) 3) Then the more specific the media type, the higher the priority 4) Finally we compare the number of media types -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.RuntimeType
BeanFactory<jakarta.ws.rs.ext.MessageBodyWriter<?>>
jakarta.ws.rs.ext.MessageBodyWriter<?>
instance()
boolean
boolean
matchesRuntimeType
(jakarta.ws.rs.RuntimeType runtimeType) List<jakarta.ws.rs.core.MediaType>
setBuiltin
(boolean builtin) setConstraint
(jakarta.ws.rs.RuntimeType constraint) setFactory
(BeanFactory<jakarta.ws.rs.ext.MessageBodyWriter<?>> factory) setMediaTypeStrings
(List<String> mediaTypeStrings) setPriority
(Integer priority) toString()
-
Constructor Details
-
ResourceWriter
public ResourceWriter()
-
-
Method Details
-
setFactory
-
getFactory
-
getMediaTypeStrings
-
setMediaTypeStrings
-
getConstraint
public jakarta.ws.rs.RuntimeType getConstraint() -
setConstraint
-
isBuiltin
public boolean isBuiltin() -
setBuiltin
-
getPriority
-
setPriority
-
instance
public jakarta.ws.rs.ext.MessageBodyWriter<?> instance() -
mediaTypes
-
serverMediaType
-
matchesRuntimeType
public boolean matchesRuntimeType(jakarta.ws.rs.RuntimeType runtimeType) -
toString
-