java.lang.Object
gg.xp.xivapi.clienttypes.XivApiSettings.Builder
- Enclosing class:
XivApiSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()configure(Consumer<XivApiSettings.Builder> configurer) setBaseAssetUri(@Nullable URI baseAssetUri) Set an alternative base URL for assets.setBaseUri(URI baseUri) Set the base URL.setConcurrencyLimit(int concurrencyLimit) setGameVersion(@Nullable String gameVersion) setSchemaVersion(@Nullable String schemaVersion) setStrict(boolean strict) setUserAgent(String userAgent)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setStrict
-
setBaseUri
Set the base URL. Should include the "/api/1" part of the URL.- Parameters:
baseUri- The new base URL- Returns:
- The builder
-
setBaseAssetUri
Set an alternative base URL for assets. Should include the "/api/1" part of the URL.- Parameters:
baseAssetUri- The new base URL- Returns:
- The builder
-
setConcurrencyLimit
-
setGameVersion
-
setSchemaVersion
-
setUserAgent
-
configure
-
build
-