Class YamasResponse

java.lang.Object
com.yahoo.container.jdisc.HttpResponse
ai.vespa.metricsproxy.http.yamas.YamasResponse

public class YamasResponse extends com.yahoo.container.jdisc.HttpResponse
Author:
olaa
  • Field Summary

    Fields inherited from class com.yahoo.container.jdisc.HttpResponse

    DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    YamasResponse(int code, List<MetricsPacket> metrics, boolean useJsonl)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    render(OutputStream outputStream)
     

    Methods inherited from class com.yahoo.container.jdisc.HttpResponse

    complete, getCharacterEncoding, getJdiscResponse, getLogValues, getRequestType, getStatus, headers, maxPendingBytes, populateAccessLogEntry, setRequestType, setStatus

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • YamasResponse

      public YamasResponse(int code, List<MetricsPacket> metrics, boolean useJsonl)
  • Method Details

    • getContentType

      public String getContentType()
      Overrides:
      getContentType in class com.yahoo.container.jdisc.HttpResponse
    • render

      public void render(OutputStream outputStream) throws IOException
      Specified by:
      render in class com.yahoo.container.jdisc.HttpResponse
      Throws:
      IOException