}
private ExecuteRequest getExecuteBuffer() {
Name bufferName = new NameImpl("JTS", "buffer");
InputParameterValues bufferGeomValues = new InputParameterValues(bufferName, "geom");
ParameterValue geom = bufferGeomValues.values.get(0);
geom.setMime("application/wkt");
geom.setType(ParameterType.TEXT);
geom.setValue("POINT(0 0)");
InputParameterValues bufferDistanceValues = new InputParameterValues(bufferName, "distance");
ParameterValue distance = bufferDistanceValues.values.get(0);
distance.setType(ParameterType.LITERAL);
distance.setValue("10");
OutputParameter bufferOutput = new OutputParameter(bufferName, "result");
ExecuteRequest executeBuffer = new ExecuteRequest(bufferName.getURI(), Arrays.asList(
bufferGeomValues, bufferDistanceValues), Arrays.asList(bufferOutput));