Package no.unit.nva.auth.uriretriever
Class AuthorizedBackendUriRetriever
java.lang.Object
no.unit.nva.auth.uriretriever.AuthorizedBackendUriRetriever
- All Implemented Interfaces:
RawContentRetriever
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAuthorizedBackendUriRetriever(String backendClientAuthUrl, String backendClientSecretName) AuthorizedBackendUriRetriever(HttpClient httpClient, software.amazon.awssdk.services.secretsmanager.SecretsManagerClient secretsManagerClient, String backendClientAuthUrl, String backendClientSecretName) -
Method Summary
Modifier and TypeMethodDescriptionfetchResponse(URI uri, String mediaType) getRawContent(URI uri, String mediaType)
-
Field Details
-
FAILED_TO_RETRIEVE_URI
- See Also:
-
API_RESPONDED_WITH_ERROR_CODE
- See Also:
-
ACCEPT
- See Also:
-
-
Constructor Details
-
AuthorizedBackendUriRetriever
public AuthorizedBackendUriRetriever(HttpClient httpClient, software.amazon.awssdk.services.secretsmanager.SecretsManagerClient secretsManagerClient, String backendClientAuthUrl, String backendClientSecretName) -
AuthorizedBackendUriRetriever
-
-
Method Details
-
getRawContent
- Specified by:
getRawContentin interfaceRawContentRetriever
-
fetchResponse
- Specified by:
fetchResponsein interfaceRawContentRetriever
-