Class WFSConfig

    • Field Detail

      • user

        protected String user
      • pass

        protected String pass
      • timeoutMillis

        protected int timeoutMillis
      • buffer

        protected int buffer
      • tryGZIP

        protected boolean tryGZIP
      • lenient

        protected boolean lenient
      • maxFeatures

        protected Integer maxFeatures
      • defaultEncoding

        protected Charset defaultEncoding
      • wfsStrategy

        protected String wfsStrategy
      • filterCompliance

        protected Integer filterCompliance
      • namespaceOverride

        protected String namespaceOverride
      • outputformatOverride

        protected String outputformatOverride
      • useDefaultSrs

        protected boolean useDefaultSrs
      • axisOrder

        protected String axisOrder
      • axisOrderFilter

        protected String axisOrderFilter
      • gmlCompatibleTypenames

        protected boolean gmlCompatibleTypenames
      • useHttpConnectionPooling

        protected boolean useHttpConnectionPooling
      • maxConnectionPoolSize

        protected int maxConnectionPoolSize
      • entityResolver

        protected EntityResolver entityResolver
      • additionalHeaders

        protected Map<String,​String> additionalHeaders
    • Constructor Detail

      • WFSConfig

        public WFSConfig()
    • Method Detail

      • fromParams

        public static WFSConfig fromParams​(Map<?,​?> params)
                                    throws IOException
        Throws:
        IOException
      • getUser

        public String getUser()
        Returns:
        the user
      • getPassword

        public String getPassword()
        Returns:
        the pass
      • getTimeoutMillis

        public int getTimeoutMillis()
        Returns:
        the timeoutMillis
      • getBuffer

        public int getBuffer()
        Returns:
        the buffer
      • isTryGZIP

        public boolean isTryGZIP()
        Returns:
        the tryGZIP
      • isLenient

        public boolean isLenient()
        Returns:
        the lenient
      • getMaxFeatures

        public Integer getMaxFeatures()
        Returns:
        the maxFeatures
      • getDefaultEncoding

        public Charset getDefaultEncoding()
        Returns:
        the defaultEncoding
      • getWfsStrategy

        public String getWfsStrategy()
        Returns:
        the wfsStrategy
      • getFilterCompliance

        public Integer getFilterCompliance()
        Returns:
        the filterCompliance
      • getNamespaceOverride

        public String getNamespaceOverride()
        Returns:
        the namespaceOverride
      • getOutputformatOverride

        public String getOutputformatOverride()
        Returns:
        the outputformat override
      • isUseDefaultSrs

        public boolean isUseDefaultSrs()
        Returns:
        if use default srs
      • getAxisOrder

        public String getAxisOrder()
        Returns:
        the axis order
      • getAxisOrderFilter

        public String getAxisOrderFilter()
        Returns:
        the axis order filter
      • isGmlCompatibleTypenames

        public boolean isGmlCompatibleTypenames()
        Returns:
        if GML compatible typenames are used
      • getEntityResolver

        public EntityResolver getEntityResolver()
        Returns the entity resolved to be used for XML parses
      • isUseHttpConnectionPooling

        public boolean isUseHttpConnectionPooling()
        Returns:
        if http connection pooling should be used
      • getMaxConnectionPoolSize

        public int getMaxConnectionPoolSize()
        Returns:
        the size of the connection pool, if isUseHttpConnectionPooling() is true
      • getAdditionalHeaders

        public Map<String,​String> getAdditionalHeaders()
        Returns:
        null, if the additionalHeaders are null. An unmodifiable version of the headers otherwise.
      • invertAxisNeeded

        public static boolean invertAxisNeeded​(String axisOrder,
                                               CoordinateReferenceSystem crs)
        Checks if axis flipping is needed comparing axis order requested for the DataStore with query crs.
      • localTypeName

        public String localTypeName​(QName remoteTypeName)