public interface ApiClientProvider extends Serializable
WebResource needed to make REST calls.
This interface extends Serializable so it can be included in other
serializable classes (the WebResource itself is not serializable).| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getClient()
Returns a (possible cached)
ApiClient. |
void |
invalidateClient()
Called when the client got invalid.
|
ApiClient getClient()
ApiClient.
If the the user is authenticated this includes the authentication information.ApiClient but never null.void invalidateClient()
Copyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.