Class ParticipantStatusOctetStreamProvider

java.lang.Object
io.narayana.lra.provider.ParticipantStatusOctetStreamProvider
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.annotation.ParticipantStatus>

@Provider @Produces("application/octet-stream") public class ParticipantStatusOctetStreamProvider extends Object implements jakarta.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.annotation.ParticipantStatus>
  • Constructor Details

    • ParticipantStatusOctetStreamProvider

      public ParticipantStatusOctetStreamProvider()
  • Method Details

    • isWriteable

      public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.annotation.ParticipantStatus>
    • getSize

      public long getSize(org.eclipse.microprofile.lra.annotation.ParticipantStatus participantStatus, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.annotation.ParticipantStatus>
    • writeTo

      public void writeTo(org.eclipse.microprofile.lra.annotation.ParticipantStatus participantStatus, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.lra.annotation.ParticipantStatus>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException