Uses of Class
net.jadler.Request
-
Packages that use Request Package Description net.jadler net.jadler.matchers net.jadler.stubbing -
-
Uses of Request in net.jadler
Fields in net.jadler with type parameters of type Request Modifier and Type Field Description protected List<org.hamcrest.Matcher<? super Request>>AbstractRequestMatching. predicatesMethods in net.jadler that return Request Modifier and Type Method Description RequestRequest.Builder. build()Methods in net.jadler with parameters of type Request Modifier and Type Method Description StubResponseJadlerMocker. provideStubResponseFor(Request request)Returns a stub response for the given request.StubResponseRequestManager. provideStubResponseFor(Request req)Returns a stub response for the given request.Method parameters in net.jadler with type arguments of type Request Modifier and Type Method Description voidJadlerMocker. evaluateVerification(Collection<org.hamcrest.Matcher<? super Request>> requestPredicates, org.hamcrest.Matcher<Integer> nrRequestsPredicate)voidRequestManager. evaluateVerification(Collection<org.hamcrest.Matcher<? super Request>> requestPredicates, org.hamcrest.Matcher<Integer> nrRequestsPredicate)Verifies whether the number of received http requests fitting the given predicates is as expected.intJadlerMocker. numberOfRequestsMatching(Collection<org.hamcrest.Matcher<? super Request>> predicates)Deprecated.intRequestManager. numberOfRequestsMatching(Collection<org.hamcrest.Matcher<? super Request>> predicates)Deprecated.this (rather internal) method has been deprecated.TAbstractRequestMatching. that(org.hamcrest.Matcher<? super Request> predicate)Adds a request predicate to this request matching.TRequestMatching. that(org.hamcrest.Matcher<? super Request> predicate)Adds a request predicate to this request matching. -
Uses of Request in net.jadler.matchers
Methods in net.jadler.matchers with parameters of type Request Modifier and Type Method Description protected StringBodyRequestMatcher. retrieveValue(Request req)Retrieves the body of the given requestprotected List<String>HeaderRequestMatcher. retrieveValue(Request req)Retrieves a header (defined inHeaderRequestMatcher(org.hamcrest.Matcher, java.lang.String)) of the given request.protected StringMethodRequestMatcher. retrieveValue(Request req)Retrieves the the method of the given requestprotected List<String>ParameterRequestMatcher. retrieveValue(Request req)Retrieves a parameter (defined inParameterRequestMatcher(org.hamcrest.Matcher, java.lang.String)) of the given request.StringPathRequestMatcher. retrieveValue(Request req)Retrieves the path of the given request.StringQueryStringRequestMatcher. retrieveValue(Request req)Retrieves the query string value of the given request.protected byte[]RawBodyRequestMatcher. retrieveValue(Request req)Retrieves the body of the given requestprotected abstract TRequestMatcher. retrieveValue(Request req)Reads a value of the given request object (the value can be anything retrievable from the request object: method, header, body,...). -
Uses of Request in net.jadler.stubbing
Methods in net.jadler.stubbing with parameters of type Request Modifier and Type Method Description StringHttpStub. describeMismatch(Request request)Returns a reason why the given request doesn't match this rule.booleanHttpStub. matches(Request request)StubResponseHttpStub. nextResponse(Request request)StubResponseResponder. nextResponse(Request request)Generates dynamically a stub response for an http request fitting the WHEN part.Constructor parameters in net.jadler.stubbing with type arguments of type Request Constructor Description HttpStub(Collection<org.hamcrest.Matcher<? super Request>> predicates, Responder responder)
-