}
TYPE type = GWCTask.TYPE.valueOf(form.getFirst("type").getValue().toUpperCase());
final String layerName = tl.getName();
SeedRequest sr = new SeedRequest(layerName, bounds, gridSetId, threadCount, zoomStart,
zoomStop, format, type, fullParameters);
TileRange tr = TileBreeder.createTileRange(sr, tl);
GWCTask[] tasks;
try {
tasks = seeder.createTasks(tr, tl, sr.getType(), sr.getThreadCount(),
sr.getFilterUpdate());
} catch (GeoWebCacheException e) {
throw new RestletException(e.getMessage(), Status.SERVER_ERROR_INTERNAL);
}
seeder.dispatchTasks(tasks);