Class Response


  • public class Response
    extends java.lang.Object
    • Constructor Detail

      • Response

        public Response​(int status,
                        java.lang.String statusMessage,
                        byte[] body,
                        HttpHeaders headers,
                        boolean configured,
                        Fault fault,
                        long initialDelay,
                        ChunkedDribbleDelay chunkedDribbleDelay,
                        boolean fromProxy)
      • Response

        public Response​(int status,
                        java.lang.String statusMessage,
                        java.lang.String body,
                        HttpHeaders headers,
                        boolean configured,
                        Fault fault,
                        long initialDelay,
                        ChunkedDribbleDelay chunkedDribbleDelay,
                        boolean fromProxy)
    • Method Detail

      • notConfigured

        public static Response notConfigured()
      • getStatus

        public int getStatus()
      • getStatusMessage

        public java.lang.String getStatusMessage()
      • getBody

        public byte[] getBody()
      • getBodyAsString

        public java.lang.String getBodyAsString()
      • getBodyStream

        public java.io.InputStream getBodyStream()
      • hasInlineBody

        public boolean hasInlineBody()
      • getFault

        public Fault getFault()
      • getInitialDelay

        public long getInitialDelay()
      • shouldAddChunkedDribbleDelay

        public boolean shouldAddChunkedDribbleDelay()
      • wasConfigured

        public boolean wasConfigured()
      • isFromProxy

        public boolean isFromProxy()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object