public static final class WmtsModelDecoderOptions.Builder extends Object implements AutoCloseable
Builder
for the WMTS options.Constructor and Description |
---|
Builder(WmtsModelDecoderOptions.Builder other) |
Modifier and Type | Method and Description |
---|---|
WmtsModelDecoderOptions |
build()
Builds the options for the WMTS model decoder.
|
void |
close() |
protected void |
finalize() |
WmtsModelDecoderOptions.Builder |
httpClient(IHttpClient httpClient)
Sets the http client to be used for fetching the data.
|
public Builder(@NotNull WmtsModelDecoderOptions.Builder other)
public void close()
close
in interface AutoCloseable
@NotNull public WmtsModelDecoderOptions build() throws IllegalStateException
IllegalStateException
- If not all mandatory parameters are set.@NotNull public WmtsModelDecoderOptions.Builder httpClient(@Nullable IHttpClient httpClient)
Calling this function is optional.
See related article for an example on how to customize HTTP requests when loading data.
httpClient
- HTTP client implementation to fetch the WMTS resources. When null
the decoder uses its own HTTP client.