Uses of Class
org.apache.juneau.rest.mock.MockRestClient.Builder
Packages that use MockRestClient.Builder
-
Uses of MockRestClient.Builder in org.apache.juneau.rest.mock
Methods in org.apache.juneau.rest.mock that return MockRestClient.BuilderModifier and TypeMethodDescriptionstatic MockRestClient.BuilderReturns a newMockRestClient.Builderfor the given REST bean or bean class.MockRestClient.Builder.contextPath(String value) Sets the servlet context path (e.g.MockRestClient.Builder.defaultParser(Parser value) Sets an explicit default parser used when the responseContent-Typematches no registered parser.MockRestClient.Builder.noTrace()Sends aNo-Trace: true header with every request, so the server leaves the stack trace of a failed call out of its log record.MockRestClient.Builder.overridingBeanStore(BeanStore value) Installs aBeanStoreas theoverridingParentof theRestContext's bean store, so test-time overrides (e.g.