Uses of Interface
com.jcabi.http.mock.MkAnswer
- 
Packages that use MkAnswer Package Description com.jcabi.http.mock Mock of Servlet Container.
- 
- 
Uses of MkAnswer in com.jcabi.http.mockClasses in com.jcabi.http.mock that implement MkAnswer Modifier and Type Class Description static classMkAnswer.SimpleSimple implementation.Methods in com.jcabi.http.mock that return types with arguments of type MkAnswer Modifier and Type Method Description static org.hamcrest.Matcher<MkAnswer>MkAnswerMatchers. hasBody(org.hamcrest.Matcher<String> matcher)Matches the value of the MkAnswer's body against the given matcher.static org.hamcrest.Matcher<MkAnswer>MkAnswerMatchers. hasBodyBytes(org.hamcrest.Matcher<byte[]> matcher)Matches the value of the MkAnswer's body bytes against the given matcher.static org.hamcrest.Matcher<MkAnswer>MkAnswerMatchers. hasHeader(String header, org.hamcrest.Matcher<Iterable<? extends String>> matcher)Matches the content of the MkAnswer's header against the given matcher.Methods in com.jcabi.http.mock with parameters of type MkAnswer Modifier and Type Method Description MkContainerMkContainer. next(MkAnswer answer)Give this answer on the next request.MkContainerMkContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition)Give this answer on the next request if the matcher condition is satisfied.MkContainerMkContainer. 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.MkContainerMkGrizzlyContainer. next(MkAnswer answer)MkContainerMkGrizzlyContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition)MkContainerMkGrizzlyContainer. next(MkAnswer answer, org.hamcrest.Matcher<MkQuery> condition, int count)Method parameters in com.jcabi.http.mock with type arguments of type MkAnswer Modifier and Type Method Description MkQueryMkContainer. take(org.hamcrest.Matcher<MkAnswer> matcher)Get the oldest request received subject to the matching condition.MkQueryMkGrizzlyContainer. take(org.hamcrest.Matcher<MkAnswer> matcher)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)
 
-