Package org.hl7.fhir.utilities.http
Class ManagedWebAccessorBase<B extends ManagedWebAccessorBase<B>>
- java.lang.Object
-
- org.hl7.fhir.utilities.http.ManagedWebAccessorBase<B>
-
- Direct Known Subclasses:
ManagedFhirWebAccessor,ManagedWebAccessor
public abstract class ManagedWebAccessorBase<B extends ManagedWebAccessorBase<B>> extends Object
-
-
Constructor Summary
Constructors Constructor Description ManagedWebAccessorBase(Iterable<String> serverTypes, String userAgent, List<ServerDetailsPOJO> serverAuthDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BwithApiKey(String apiKey)BwithBasicAuth(String username, String password)BwithHeader(String name, String value)BwithNoneAuth()BwithServerSpecificAuth()BwithToken(String token)
-
-
-
Constructor Detail
-
ManagedWebAccessorBase
public ManagedWebAccessorBase(Iterable<String> serverTypes, String userAgent, List<ServerDetailsPOJO> serverAuthDetails)
-
-
Method Detail
-
withHeader
public B withHeader(String name, String value)
-
withBasicAuth
public B withBasicAuth(String username, String password)
-
withApiKey
public B withApiKey(String apiKey)
-
withNoneAuth
public B withNoneAuth()
-
withServerSpecificAuth
public B withServerSpecificAuth()
-
-