Class ServerPathPartBodyHandler

java.lang.Object
org.jboss.resteasy.reactive.common.providers.serialisers.PathPartBodyHandler
org.jboss.resteasy.reactive.server.providers.serialisers.ServerPathPartBodyHandler
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<org.jboss.resteasy.reactive.PathPart>, ServerMessageBodyWriter<org.jboss.resteasy.reactive.PathPart>

@Produces("*/*") public class ServerPathPartBodyHandler extends org.jboss.resteasy.reactive.common.providers.serialisers.PathPartBodyHandler implements ServerMessageBodyWriter<org.jboss.resteasy.reactive.PathPart>
  • Constructor Details

    • ServerPathPartBodyHandler

      public ServerPathPartBodyHandler()
  • Method Details

    • getSize

      public long getSize(org.jboss.resteasy.reactive.PathPart o, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<org.jboss.resteasy.reactive.PathPart>
    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, ResteasyReactiveResourceInfo target, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface ServerMessageBodyWriter<org.jboss.resteasy.reactive.PathPart>
    • writeResponse

      public void writeResponse(org.jboss.resteasy.reactive.PathPart o, Type genericType, ServerRequestContext context) throws jakarta.ws.rs.WebApplicationException
      Specified by:
      writeResponse in interface ServerMessageBodyWriter<org.jboss.resteasy.reactive.PathPart>
      Throws:
      jakarta.ws.rs.WebApplicationException