Class ErrorHttpResponse

java.lang.Object
com.yahoo.container.jdisc.HttpResponse
com.yahoo.vespa.http.server.ErrorHttpResponse

public class ErrorHttpResponse extends com.yahoo.container.jdisc.HttpResponse
  • Field Summary

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

    DEFAULT_CHARACTER_ENCODING, DEFAULT_MIME_TYPE
  • Constructor Summary

    Constructors
    Constructor
    Description
    ErrorHttpResponse(int statusCode, String msg)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(OutputStream outputStream)
     

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

    complete, getCharacterEncoding, getContentType, 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

    • ErrorHttpResponse

      public ErrorHttpResponse(int statusCode, String msg)
  • Method Details