SELF
- The type of the builder.T
- The type of the OAuth2TokenProvider being built.public abstract static class OAuth2TokenProvider.OAuth2TokenProviderBuilder<SELF extends com.datastrato.gravitino.client.OAuth2TokenProvider.Builder<SELF,T>,T extends OAuth2TokenProvider>
extends java.lang.Object
OAuth2TokenProvider
.Modifier and Type | Field and Description |
---|---|
protected HTTPClient |
client
The HTTP client used to request the access token from the authorization server.
|
Constructor and Description |
---|
OAuth2TokenProviderBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
build()
Builds the instance of the OAuth2TokenProvider.
|
protected abstract T |
internalBuild()
Builds the instance of the OAuth2TokenProvider.
|
SELF |
withUri(java.lang.String uri)
Sets the uri of the OAuth2TokenProvider
|
protected HTTPClient client
public SELF withUri(java.lang.String uri)
uri
- The uri of oauth server .public T build()
protected abstract T internalBuild()