Class UriMessageBodyWriter

java.lang.Object
org.eclipse.microprofile.lra.tck.participant.api.UriMessageBodyWriter
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<URI>

@Provider @Produces("text/plain") public class UriMessageBodyWriter extends Object implements jakarta.ws.rs.ext.MessageBodyWriter<URI>
  • Constructor Details

    • UriMessageBodyWriter

      public UriMessageBodyWriter()
  • Method Details

    • isWriteable

      public boolean isWriteable(Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<URI>
    • getSize

      public long getSize(URI uri, Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
      Specified by:
      getSize in interface jakarta.ws.rs.ext.MessageBodyWriter<URI>
    • writeTo

      public void writeTo(URI uri, Class<?> aClass, Type type, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> multivaluedMap, OutputStream outputStream) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      writeTo in interface jakarta.ws.rs.ext.MessageBodyWriter<URI>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException