Class MistralAiRestApi.MistralAiRestApiWriterInterceptor

java.lang.Object
io.quarkiverse.langchain4j.mistralai.MistralAiRestApi.MistralAiRestApiWriterInterceptor
All Implemented Interfaces:
jakarta.ws.rs.ext.WriterInterceptor
Enclosing interface:
MistralAiRestApi

public static class MistralAiRestApi.MistralAiRestApiWriterInterceptor extends Object implements jakarta.ws.rs.ext.WriterInterceptor
The point of this is to properly set the stream value of the request so users don't have to remember to set it manually
  • Constructor Details

    • MistralAiRestApiWriterInterceptor

      public MistralAiRestApiWriterInterceptor()
  • Method Details

    • aroundWriteTo

      public void aroundWriteTo(jakarta.ws.rs.ext.WriterInterceptorContext context) throws IOException, jakarta.ws.rs.WebApplicationException
      Specified by:
      aroundWriteTo in interface jakarta.ws.rs.ext.WriterInterceptor
      Throws:
      IOException
      jakarta.ws.rs.WebApplicationException