Package org.geotools.data.wfs.internal

Examples of org.geotools.data.wfs.internal.GetCapabilitiesResponse


     */
    public static <T extends WFSStrategy> T createTestProtocol(String capabilitiesFileName,
            HTTPClient http, T real) throws Exception {

        InputStream stream = TestData.openStream(WFSTestData.class, capabilitiesFileName);
        GetCapabilitiesResponse response = new GetCapabilitiesResponse(response(stream));
        WFSGetCapabilities capabilities = response.getCapabilities();
        real.setCapabilities(capabilities);
        real.setConfig(new WFSConfig());
        return real;
    }
View Full Code Here


    }

    private Response mockCapabilities() throws IOException, ServiceException {
        HTTPResponse httpResp = new TestHttpResponse("text/xml", "UTF-8", super.serverURL);

        return new GetCapabilitiesResponse(httpResp);
    }
View Full Code Here

TOP

Related Classes of org.geotools.data.wfs.internal.GetCapabilitiesResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.