WFS_1_1_0_Protocol implements WFSProtocol { public boolean supportsOperation(WFSOperationType operation, boolean post) { if (post && !strategy.supportsPost()) { return false; } if (!post && !strategy.supportsGet()) { return false; } HttpMethod method = post ? POST : GET; return null != getOperationURI(operation, method); } WFS_1_1_0_Protocol(InputStream capabilitiesReader, HTTPClient http,
            Charset defaultEncoding, WFSStrategy strategy); void setStrategy(WFSStrategy strategy); Version getServiceVersion(); String getServiceTitle(); String getServiceAbstract(); Set<String> getServiceKeywords(); URI getServiceProviderUri(); Set<String> getSupportedGetFeatureOutputFormats(); Set<String> getSupportedOutputFormats(String typeName); Set<QName> getFeatureTypeNames(); QName getFeatureTypeName(String typeName); FilterCapabilities getFilterCapabilities(); boolean supportsOperation(WFSOperationType operation, boolean post); URL getOperationURL(WFSOperationType operation, boolean post); String getFeatureTypeTitle(String typeName); String getFeatureTypeAbstract(String typeName); ReferencedEnvelope getFeatureTypeWGS84Bounds(String typeName); String getDefaultCRS(String typeName); Set<String> getSupportedCRSIdentifiers(String typeName); Set<String> getFeatureTypeKeywords(String typeName); URL getDescribeFeatureTypeURLGet(String typeName); WFSResponse describeFeatureTypeGET(String typeName, String outputFormat); WFSResponse describeFeatureTypePOST(String typeName, String outputFormat); WFSResponse issueGetFeatureGET(final GetFeature request); WFSResponse issueGetFeaturePOST(final GetFeature request); void dispose(); static void encode(final EObject request, final Configuration configuration,
            final OutputStream out, final Charset charset); String getDefaultOutputFormat(WFSOperationType operation); Filter[] splitFilters(Filter filter); @Override SimpleFeatureType issueDescribeFeatureTypeGET(final String prefixedTypeName,
            CoordinateReferenceSystem crs);  }
@Test public void testSupportsOperation() throws IOException { createTestProtocol(GEOS_ARCHSITES.CAPABILITIES); assertTrue(wfs.supportsOperation(DESCRIBE_FEATURETYPE, false)); assertFalse(wfs.supportsOperation(DESCRIBE_FEATURETYPE, true)); createTestProtocol(CUBEWERX_GOVUNITCE.CAPABILITIES); assertTrue(wfs.supportsOperation(DESCRIBE_FEATURETYPE, false)); assertTrue(wfs.supportsOperation(DESCRIBE_FEATURETYPE, true)); }