Package com.inrupt.client.core
Class DefaultClient.Builder
java.lang.Object
com.inrupt.client.core.DefaultClient.Builder
- All Implemented Interfaces:
Client.Builder
- Enclosing class:
- DefaultClient
The builder of the default client implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the client.withInstance(HttpService instance) Add a specificHttpServiceinstance to the builder.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
withInstance
Description copied from interface:Client.BuilderAdd a specificHttpServiceinstance to the builder.- Specified by:
withInstancein interfaceClient.Builder- Parameters:
instance- the http service- Returns:
- this builder
-
build
Description copied from interface:Client.BuilderBuild the client.- Specified by:
buildin interfaceClient.Builder- Returns:
- the client
-