@Override public void write(Object value, OutputStream output, Operation operation) throws IOException, ServiceException { CloseableIterator<String> result = (CloseableIterator<String>) value; RequestBaseType request = (RequestBaseType) operation.getParameters()[0]; CSWInfo csw = gs.getService(CSWInfo.class); transformResponse(output, result, request, csw); }
@Override public void write(Object value, OutputStream output, Operation operation) throws IOException, ServiceException { CloseableIterator<String> result = (CloseableIterator<String>) value; RequestBaseType request = (RequestBaseType) operation.getParameters()[0]; CSWInfo csw = gs.getService(CSWInfo.class); transformResponse(output, result, request, csw); }