Package org.geoserver.wfs.WFSInfo

Examples of org.geoserver.wfs.WFSInfo.Version.compareTo()


        if (request != null) {
            //wfs 2.0 has more requirements for exception codes and handles
            if (OwsUtils.has(request, "version")) {
                Object ver = OwsUtils.get(request, "version");
                Version version = Version.negotiate(ver != null ? ver.toString() : null);
                if (version != null && version.compareTo(Version.V_20) < 0) {
                    return this; //not 2.0
                }
            }
            if (locator == null && OwsUtils.has(request, "handle")) {
                //check the request object
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.