Package org.geotools.data.wfs.internal
Class WFSConfig
- Object
-
- WFSConfig
-
public class WFSConfig extends Object
- See Also:
WFSStrategy.setConfig(WFSConfig)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WFSConfig.PreferredHttpMethod
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
additionalHeaders
protected String
axisOrder
protected String
axisOrderFilter
protected int
buffer
protected Charset
defaultEncoding
protected EntityResolver
entityResolver
protected Integer
filterCompliance
protected boolean
gmlCompatibleTypenames
protected boolean
lenient
protected int
maxConnectionPoolSize
protected Integer
maxFeatures
protected String
namespaceOverride
protected String
outputformatOverride
protected String
pass
protected WFSConfig.PreferredHttpMethod
preferredMethod
protected int
timeoutMillis
protected boolean
tryGZIP
protected boolean
useDefaultSrs
protected boolean
useHttpConnectionPooling
protected String
user
protected String
wfsStrategy
-
Constructor Summary
Constructors Constructor Description WFSConfig()
-
Method Summary
-
-
-
Field Detail
-
user
protected String user
-
pass
protected String pass
-
timeoutMillis
protected int timeoutMillis
-
preferredMethod
protected WFSConfig.PreferredHttpMethod preferredMethod
-
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
-
-
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
-
getPreferredMethod
public WFSConfig.PreferredHttpMethod getPreferredMethod()
- Returns:
- the preferredMethod
-
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()
istrue
-
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.
-
-