Package org.geoserver.sldservice.rest.resource

Examples of org.geoserver.sldservice.rest.resource.ListAttributesResource$LayerAttributesListConverter


    @Override
    public Resource findTarget(Request request, Response response) {
        String layer = (String) request.getAttributes().get( "layer" );
       
        if ( layer != null && request.getMethod() == Method.GET ) {
            return new ListAttributesResource(getContext(),request,response,catalog);
        }
       
        throw new RestletException( "No such layer: " + layer, Status.CLIENT_ERROR_NOT_FOUND );
    }
View Full Code Here


    @Override
    public Resource findTarget(Request request, Response response) {
        String layer = (String) request.getAttributes().get("layer");
   
        if (layer != null && request.getMethod() == Method.GET) {
            return new ListAttributesResource(getContext(), request, response,
                    catalog);
        }
   
        throw new RestletException("No such layer: " + layer,
                Status.CLIENT_ERROR_NOT_FOUND);
View Full Code Here

TOP

Related Classes of org.geoserver.sldservice.rest.resource.ListAttributesResource$LayerAttributesListConverter

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.