org.geotools.wfs.protocol
Class WFSProtocolHandler

Object
  extended by WFSProtocolHandler
Direct Known Subclasses:
WFS100ProtocolHandler

Deprecated. use WFSProtocol

public abstract class WFSProtocolHandler
extends Object

Handles setting up connections to a WFS based on a WFS capabilities document, taking care of GZIP and authentication.

Since:
2.5.x
Author:
Gabriel Roldan

Field Summary
protected  ConnectionFactory connectionFac
          Deprecated.  
 
Constructor Summary
WFSProtocolHandler(Version version, ConnectionFactory connectionFac)
          Deprecated.  
 
Method Summary
 HttpURLConnection createDescribeFeatureTypeConnection(String typeName, HttpMethod method)
          Deprecated.  
 URL getDescribeFeatureTypeURLGet(String typeName)
          Deprecated.  
 String getEncoding()
          Deprecated. Returns the preferred character encoding name to encode requests in
abstract  URL getOperationURL(WFSOperationType operation, HttpMethod method)
          Deprecated.  
 Version getVersion()
          Deprecated.  
abstract  boolean supports(WFSOperationType operation, HttpMethod method)
          Deprecated. Returns whether the service supports the given operation for the given HTTP method.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionFac

protected final ConnectionFactory connectionFac
Deprecated. 
Constructor Detail

WFSProtocolHandler

public WFSProtocolHandler(Version version,
                          ConnectionFactory connectionFac)
Deprecated. 
Method Detail

getVersion

public Version getVersion()
Deprecated. 

supports

public abstract boolean supports(WFSOperationType operation,
                                 HttpMethod method)
Deprecated. 
Returns whether the service supports the given operation for the given HTTP method.

Parameters:
operation -
method -
Returns:

getOperationURL

public abstract URL getOperationURL(WFSOperationType operation,
                                    HttpMethod method)
                             throws UnsupportedOperationException
Deprecated. 
Parameters:
operation -
method -
Returns:
The URL access point for the given operation and method
Throws:
UnsupportedOperationException - if the combination operation/method is not supported by the service
See Also:
supports(WFSOperationType, HttpMethod)

getEncoding

public String getEncoding()
Deprecated. 
Returns the preferred character encoding name to encode requests in

Returns:

createDescribeFeatureTypeConnection

public HttpURLConnection createDescribeFeatureTypeConnection(String typeName,
                                                             HttpMethod method)
                                                      throws IOException,
                                                             IllegalArgumentException
Deprecated. 
Throws:
IOException
IllegalArgumentException

getDescribeFeatureTypeURLGet

public URL getDescribeFeatureTypeURLGet(String typeName)
                                 throws MalformedURLException
Deprecated. 
Throws:
MalformedURLException


Copyright © 1996-2014 Geotools. All Rights Reserved.