Class ServerMessageBodyWriter.AllWriteableMessageBodyWriter
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter.AllWriteableMessageBodyWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<Object>
,ServerMessageBodyWriter<Object>
- Enclosing interface:
- ServerMessageBodyWriter<T>
public abstract static class ServerMessageBodyWriter.AllWriteableMessageBodyWriter extends Object implements ServerMessageBodyWriter<Object>
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 Constructor Description AllWriteableMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
boolean
isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.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 org.jboss.resteasy.reactive.server.spi.ServerMessageBodyWriter
writeResponse
-
-
-
-
Method Detail
-
isWriteable
public final boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfaceServerMessageBodyWriter<Object>
-
isWriteable
public final boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interfacejavax.ws.rs.ext.MessageBodyWriter<Object>
-
-