Interface ILcdWFSModelEncoder

All Superinterfaces:
ILcdModelEncoder, Serializable
All Known Implementing Classes:
TLcdWFSModelEncoder

public interface ILcdWFSModelEncoder extends ILcdModelEncoder
A WFS model encoder extends a model encoder with a content type (MIME type) which will be used for WFS GetFeature responses.
Since:
2015.0
  • Method Details

    • getContentType

      String getContentType()
      Gets the content type (MIME type) of the encoded schema that will be used for the HTTP response to a WFS GetFeature request. When the content type is null, the content type is undefined and no content type will be set on the response. It is recommended to always explicitly define a content type because browsers and clients often depend on it for correct and well-defined behavior.

      A typical content type is "text/xml; subtype=gml/3.1.1" for GML 3.1.

      Returns:
      the content type (MIME type) of the encoded model, which may be null