Package com.boundlessgeo.geoserver.util

Examples of com.boundlessgeo.geoserver.util.RecentObjectCache


            .contentType(MediaType.APPLICATION_JSON)
            .content(obj.toString());

        MockHttpServletRequest req = reqBuilder.buildRequest(new MockServletContext());
        try {
            new MapController(geoServer, new RecentObjectCache())
                .create("foo", new JSONObj().put("name", "map1"), req);
            fail();
        }
        catch(BadRequestException e) {
            assertTrue(e.getMessage().contains("already exists"));
View Full Code Here

TOP

Related Classes of com.boundlessgeo.geoserver.util.RecentObjectCache

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.