Class FakeHttpLayer.RequestMatcherResponseRule

    • Constructor Detail

      • RequestMatcherResponseRule

        public RequestMatcherResponseRule​(RequestMatcher requestMatcher,
                                          org.apache.http.HttpResponse responseToGive)
      • RequestMatcherResponseRule

        public RequestMatcherResponseRule​(RequestMatcher requestMatcher,
                                          java.io.IOException ioException)
      • RequestMatcherResponseRule

        public RequestMatcherResponseRule​(RequestMatcher requestMatcher,
                                          org.apache.http.HttpException httpException)
      • RequestMatcherResponseRule

        public RequestMatcherResponseRule​(RequestMatcher requestMatcher,
                                          java.util.List<? extends org.apache.http.HttpResponse> responses)
    • Method Detail

      • getResponse

        public org.apache.http.HttpResponse getResponse()
                                                 throws org.apache.http.HttpException,
                                                        java.io.IOException
        Specified by:
        getResponse in interface HttpEntityStub.ResponseRule
        Throws:
        org.apache.http.HttpException
        java.io.IOException