org.geotools.wfs.protocol
Class WFSProtocolHandler

java.lang.Object
  extended by org.geotools.wfs.protocol.WFSProtocolHandler
Direct Known Subclasses:
WFS100ProtocolHandler

Deprecated. use WFSProtocol

public abstract class WFSProtocolHandler
extends java.lang.Object

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

Since:
2.5.x
Version:
$Id: WFSProtocolHandler.java 31823 2008-11-11 16:11:49Z groldan $
Author:
Gabriel Roldan

Field Summary
protected  ConnectionFactory connectionFac
          Deprecated.  
 
Constructor Summary
WFSProtocolHandler(Version version, ConnectionFactory connectionFac)
          Deprecated.  
 
Method Summary
 java.net.HttpURLConnection createDescribeFeatureTypeConnection(java.lang.String typeName, HttpMethod method)
          Deprecated.  
 java.net.URL getDescribeFeatureTypeURLGet(java.lang.String typeName)
          Deprecated.  
 java.lang.String getEncoding()
          Deprecated. Returns the preferred character encoding name to encode requests in
abstract  java.net.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 java.lang.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 java.net.URL getOperationURL(WFSOperationType operation,
                                             HttpMethod method)
                                      throws java.lang.UnsupportedOperationException
Deprecated. 
Parameters:
operation -
method -
Returns:
The URL access point for the given operation and method
Throws:
java.lang.UnsupportedOperationException - if the combination operation/method is not supported by the service
See Also:
supports(WFSOperationType, HttpMethod)

getEncoding

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

Returns:

createDescribeFeatureTypeConnection

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

getDescribeFeatureTypeURLGet

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


Copyright © 1996-2010 Geotools. All Rights Reserved.