Class AnthropicRestApi.AnthropicRestApiJacksonWriter

java.lang.Object
io.quarkiverse.langchain4j.anthropic.AnthropicRestApi.AnthropicRestApiJacksonWriter
All Implemented Interfaces:
jakarta.ws.rs.ext.MessageBodyWriter<Object>
Enclosing interface:
AnthropicRestApi

@Priority(5100) public static class AnthropicRestApi.AnthropicRestApiJacksonWriter extends Object implements jakarta.ws.rs.ext.MessageBodyWriter<Object>
  • Constructor Details

    • AnthropicRestApiJacksonWriter

      public AnthropicRestApiJacksonWriter()
  • 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<Object>
    • writeTo

      public void writeTo(Object o, 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<Object>
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException