public static class FcrepoClient.FcrepoClientBuilder extends Object
| Constructor and Description |
|---|
FcrepoClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
FcrepoClient.FcrepoClientBuilder |
authScope(String authHost)
Add an authentication scope to this client
|
FcrepoClient |
build()
Get the client
|
FcrepoClient.FcrepoClientBuilder |
credentials(String username,
String password)
Add basic authentication credentials to this client
|
FcrepoClient.FcrepoClientBuilder |
throwExceptionOnFailure()
Client should throw exceptions when failures occur
|
public FcrepoClientBuilder()
public FcrepoClient.FcrepoClientBuilder credentials(String username, String password)
username - username for authenticationpassword - password for authenticationpublic FcrepoClient.FcrepoClientBuilder authScope(String authHost)
authHost - authentication scope valuepublic FcrepoClient.FcrepoClientBuilder throwExceptionOnFailure()
public FcrepoClient build()
Copyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.