Class ServerPathBodyHandler
java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.PathBodyHandler
org.jboss.resteasy.reactive.server.providers.serialisers.ServerPathBodyHandler
- All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Path>
,ServerMessageBodyWriter<Path>
@Produces("*/*")
public class ServerPathBodyHandler
extends PathBodyHandler
implements ServerMessageBodyWriter<Path>
-
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 TypeMethodDescriptionlong
getSize
(Path o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) boolean
isWriteable
(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) void
writeResponse
(Path o, Type genericType, ServerRequestContext context) Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.PathBodyHandler
doWrite, isWriteable, writeTo
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
isWriteable, writeTo
-
Constructor Details
-
ServerPathBodyHandler
public ServerPathBodyHandler()
-
-
Method Details
-
getSize
public long getSize(Path o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
getSize
in interfacejakarta.ws.rs.ext.MessageBodyWriter<Path>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteable
in interfaceServerMessageBodyWriter<Path>
-
writeResponse
public void writeResponse(Path o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException - Specified by:
writeResponse
in interfaceServerMessageBodyWriter<Path>
- Throws:
jakarta.ws.rs.WebApplicationException
-