@ProviderType
public interface ResolveContext<T>
ResourceProvider
to provide additional context information for the provider.
If the provider requires authentication, the object returned by ResourceProvider.authenticate(Map)
is returned in getProviderState()
.Modifier and Type | Method and Description |
---|---|
ResolveContext<?> |
getParentResolveContext()
Return a resolve context for the parent resource provider.
|
ResourceProvider<?> |
getParentResourceProvider()
Return the parent resource provider.
|
T |
getProviderState()
This is the object returned by
ResourceProvider.authenticate(Map) |
ResourceResolver |
getResourceResolver()
Get the current resource resolver.
|
@Nonnull ResourceResolver getResourceResolver()
@CheckForNull T getProviderState()
ResourceProvider.authenticate(Map)
null
@CheckForNull ResolveContext<?> getParentResolveContext()
null
if there is no parent.getParentResourceProvider()
@CheckForNull ResourceProvider<?> getParentResourceProvider()
getParentResolveContext()
should be passed to that
instance.null
if there is no parent.Copyright © 2017 The Apache Software Foundation. All rights reserved.