Class Response

java.lang.Object
com.github.tomakehurst.wiremock.http.Response

public class Response extends Object
  • Method Details

    • notConfigured

      public static Response notConfigured()
    • response

      public static Response.Builder response()
    • getStatus

      public int getStatus()
    • getStatusMessage

      public String getStatusMessage()
    • getBody

      public byte[] getBody()
    • getBody

      public byte[] getBody(Limit sizeLimit)
    • getBodyAsString

      public String getBodyAsString()
    • getBodyStream

      public InputStream getBodyStream()
    • hasInlineBody

      public boolean hasInlineBody()
    • getHeaders

      public HttpHeaders getHeaders()
    • getFault

      public Fault getFault()
    • getInitialDelay

      public long getInitialDelay()
    • getChunkedDribbleDelay

      public ChunkedDribbleDelay getChunkedDribbleDelay()
    • shouldAddChunkedDribbleDelay

      public boolean shouldAddChunkedDribbleDelay()
    • wasConfigured

      public boolean wasConfigured()
    • isFromProxy

      public boolean isFromProxy()
    • toString

      public String toString()
      Overrides:
      toString in class Object