Uses of Interface
com.jcabi.http.mock.MkQuery
-
Packages that use MkQuery Package Description com.jcabi.http.mock Mock of Servlet Container. -
-
Uses of MkQuery in com.jcabi.http.mock
Methods in com.jcabi.http.mock that return MkQuery Modifier and Type Method Description MkQuery
MkContainer. take()
Get the oldest request received (NoSuchElementException
if no more elements in the list).MkQuery
MkContainer. take(org.hamcrest.Matcher<MkAnswer> matcher)
Get the oldest request received subject to the matching condition.MkQuery
MkGrizzlyContainer. take()
MkQuery
MkGrizzlyContainer. take(org.hamcrest.Matcher<MkAnswer> matcher)
Methods in com.jcabi.http.mock that return types with arguments of type MkQuery Modifier and Type Method Description static org.hamcrest.Matcher<MkQuery>
MkQueryMatchers. hasBody(org.hamcrest.Matcher<String> matcher)
Matches the value of the MkQuery's body against the given matcher.static org.hamcrest.Matcher<MkQuery>
MkQueryMatchers. hasHeader(String header, org.hamcrest.Matcher<Iterable<? extends String>> matcher)
Matches the content of the MkQuery's header against the given matcher.static org.hamcrest.Matcher<MkQuery>
MkQueryMatchers. hasPath(org.hamcrest.Matcher<String> path)
Matches the path of the MkQuery.static org.hamcrest.Matcher<MkQuery>
MkQueryMatchers. hasQuery(org.hamcrest.Matcher<String> query)
Matches the query of the MkQuery.Collection<MkQuery>
MkContainer. takeAll(org.hamcrest.Matcher<MkAnswer> matcher)
Get the all requests received satisfying the given matcher.Collection<MkQuery>
MkGrizzlyContainer. takeAll(org.hamcrest.Matcher<MkAnswer> matcher)
Methods in com.jcabi.http.mock with parameters of type MkQuery Modifier and Type Method Description protected boolean
MkQueryUriMatcher. matchesSafely(MkQuery item, org.hamcrest.Description desc)
Method parameters in com.jcabi.http.mock with type arguments of type MkQuery Modifier and Type Method Description MkContainer
MkContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition)
Give this answer on the next request if the matcher condition is satisfied.MkContainer
MkContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition, int count)
Give this answer on the next request(s) if the matcher condition is satisfied up to a certain number of requests.MkContainer
MkGrizzlyContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition)
MkContainer
MkGrizzlyContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition, int count)
-