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 booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) final booleanisWriteable(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, waitMethods inherited from interface jakarta.ws.rs.ext.MessageBodyWriter
getSize, writeToMethods 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:
isWriteablein interfaceServerMessageBodyWriter<Object>
-
isWriteable
public final boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteablein interfacejakarta.ws.rs.ext.MessageBodyWriter<Object>
-