Class 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​(java.lang.String content, java.lang.String contentType, int status)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentType()  
      void render​(java.io.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 Detail

      • ProxyResponse

        public ProxyResponse​(java.lang.String content,
                             java.lang.String contentType,
                             int status)
    • Method Detail

      • render

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

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