Uses of Class
org.apache.juneau.rest.mock.classic.MockRestClient.Builder
Packages that use MockRestClient.Builder
Package
Description
Mocked REST client and supporting classes for in-JVM testing built on the classic Apache HttpClient API.
-
Uses of MockRestClient.Builder in org.apache.juneau.rest.mock.classic
Methods in org.apache.juneau.rest.mock.classic that return MockRestClient.BuilderModifier and TypeMethodDescriptionMockRestClient.Builder.contextPath(String value) Identifies the context path for the REST resource.MockRestClient.Builder.copy()static MockRestClient.BuilderCreates a newRestClient.Builderconfigured with the specified REST implementation bean or bean class.static MockRestClient.BuilderCreates a newRestClient.Builderconfigured with the specified REST implementation bean or bean class.MockRestClient.Builder.debug()MockRestClient.Builder.overridingBeanStore(BeanStore value) Installs aBeanStoreas theoverridingParentof theRestContext's bean store, so test-time overrides (e.g.Add resolved path variables to this client.Add resolved path variables to this client.Specifies theRest-annotated bean class or instance to test against.MockRestClient.Builder.restContext(RestContext value) Specifies theRestContextcreated for the REST bean.MockRestClient.Builder.serializers(Class<? extends Serializer>... value) MockRestClient.Builder.servletPath(String value) Identifies the servlet path for the REST resource.MockRestClient.Builder.suppressLogging()Suppress logging on this client.Constructors in org.apache.juneau.rest.mock.classic with parameters of type MockRestClient.Builder