Interface HttpEntityStub.ResponseRule

All Known Implementing Classes:
FakeHttpLayer.RequestMatcherResponseRule
Enclosing class:
HttpEntityStub

public static interface HttpEntityStub.ResponseRule
  • Method Summary

    Modifier and Type Method Description
    org.apache.http.HttpResponse getResponse()  
    boolean matches​(org.apache.http.HttpRequest request)  
  • Method Details

    • matches

      boolean matches​(org.apache.http.HttpRequest request)
    • getResponse

      org.apache.http.HttpResponse getResponse() throws org.apache.http.HttpException, IOException
      Throws:
      org.apache.http.HttpException
      IOException