APISonar


org.geoserver.wms.map.RenderedImageMapOutputFormat.LOGGER.log

> org > geoserver > wms > map > RenderedImageMapOutputFormat > LOGGER > log
org APIs geoserver APIs wms APIs map APIs RenderedImageMapOutputFormat APIs LOGGER APIs log APIs

Example 1
public int getMaxRenderingTime(GetMapRequest request) {
        int localMaxRenderingTime = 0;
        Object timeoutOption = request.getFormatOptions().get("timeout");
        if (timeoutOption != null) {
            try {
                localMaxRenderingTime = Integer.parseInt(timeoutOption.toString());
            } catch (NumberFormatException e) {
                RenderedImageMapOutputFormat.LOGGER.log(Level.WARNING,"Could not parse format_option \"timeout\": "+timeoutOption, e);
            }
        }
        int maxRenderingTime = getMaxRenderingTime(localMaxRenderingTime);
        return maxRenderingTime;
    }