LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder Class Referencesealed

Builder for the WFS options. More...

Inheritance diagram for Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder:

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.

Detailed Description

Builder for the WFS options.

Since
2026.0

Constructor & Destructor Documentation

◆ Builder()

Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder.Builder ( Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder other)
inline

Copy constructor.

Parameters
otherthe builder to copy.

Member Function Documentation

◆ Build()

Luciad.Formats.Wfs.WfsModelDecoderOptions Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder.Build ( )
inline

Builds the options for the WFS model decoder.

Returns
the options for the WFS model decoder.
Exceptions
System.InvalidOperationExceptionIf not all mandatory parameters are set.

◆ Dispose()

void Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder.Dispose ( )
inline

◆ HttpClient()

Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder.HttpClient ( Luciad.Net.Http.IHttpClient httpClient)
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.

Parameters
httpClientHTTP client implementation to fetch the WFS resources. When null the decoder uses its own HTTP client.
Returns
this builder.

◆ OutputFormat()

Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder Luciad.Formats.Wfs.WfsModelDecoderOptions.Builder.OutputFormat ( string outputFormat)
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.

Parameters
outputFormatthe output format to request. Cannot be empty.
Returns
this builder.
Exceptions
System.ArgumentExceptionif outputFormat is empty.
Since
2026.1