Class ServerMessageBodyWriter.AllWriteableMessageBodyWriter
java.lang.Object
org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Object>
,org.jboss.resteasy.reactive.common.types.AllWriteableMarker
,ServerMessageBodyWriter<Object>
- Direct Known Subclasses:
MultipartMessageBodyWriter
- Enclosing interface:
- ServerMessageBodyWriter<T>
public abstract static class ServerMessageBodyWriter.AllWriteableMessageBodyWriter
extends Object
implements ServerMessageBodyWriter<Object>, org.jboss.resteasy.reactive.common.types.AllWriteableMarker
A special super-class of MessageBodyWriters that accepts all types of input.
The main purpose of this class is to allow runtime code
to optimize for the case when there are multiple providers determined at build time
but the first one will always be used
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
isWriteable
(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) final boolean
isWriteable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize, writeTo
Methods inherited from interface org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
writeResponse
-
Constructor Details
-
AllWriteableMessageBodyWriter
public AllWriteableMessageBodyWriter()
-
-
Method Details
-
isWriteable
public final boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfaceServerMessageBodyWriter<Object>
-
isWriteable
public final boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfacejakarta.ws.rs.ext.MessageBodyWriter<Object>
-