|
LuciadCPillar C# 2026.1.02
|
Builder for the WFS options.
More...
Public Member Functions | |
| Builder (Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder other) | |
| Copy constructor. | |
| Luciad.Formats.Wfs.WfsModelDecoderOptions | Build () |
| Builds the options for the WFS model decoder. | |
| void | Dispose () |
| Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder | HttpClient (Luciad.Net.Http.IHttpClient httpClient) |
| Sets the http client to be used for fetching the data. | |
| Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder | OutputFormat (string outputFormat) |
| Sets the output format to request for GetFeature responses. | |
Builder for the WFS options.
|
inline |
Copy constructor.
| other | the builder to copy. |
|
inline |
Builds the options for the WFS model decoder.
| System.InvalidOperationException | If not all mandatory parameters are set. |
|
inline |
|
inline |
Sets the http client to be used for fetching the data.
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 WFS resources. When null the decoder uses its own HTTP client. |
|
inline |
Sets the output format to request for GetFeature responses.
Calling this function is optional. If you leave it unset, no OUTPUTFORMAT query parameter is sent and the server default (GML) is used.
The value is an output format the server advertises, as listed by WfsFeatureType.getOutputFormats(), for example "application/json". A value that looks like JSON is decoded as GeoJSON. Any other value is decoded as GML. Only GML and GeoJSON responses can be decoded.
| outputFormat | the output format to request. Cannot be empty. |
| System.ArgumentException | if outputFormat is empty. |