java.lang.Object
com.yahoo.container.jdisc.HttpResponse
com.yahoo.vespa.hosted.controller.api.integration.configserver.ProxyResponse

public class ProxyResponse extends com.yahoo.container.jdisc.HttpResponse
Author:
valerijf
  • Field Summary

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

    DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProxyResponse(byte[] content, String contentType, int status)
     
  • 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

    • ProxyResponse

      public ProxyResponse(byte[] content, String contentType, int status)
  • Method Details

    • render

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

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