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 org.jboss.resteasy.reactive.common.providers.serialisers.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 TypeMethodDescriptionlonggetSize(Path o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) booleanisWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) voidwriteResponse(Path o, Type genericType, ServerRequestContext context) Methods inherited from class org.jboss.resteasy.reactive.common.providers.serialisers.PathBodyHandler
doWrite, isWriteable, writeToMethods 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
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:
getSizein interfacejakarta.ws.rs.ext.MessageBodyWriter<Path>
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType) - Specified by:
isWriteablein interfaceServerMessageBodyWriter<Path>
-
writeResponse
public void writeResponse(Path o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException - Specified by:
writeResponsein interfaceServerMessageBodyWriter<Path>- Throws:
jakarta.ws.rs.WebApplicationException
-