use of org.apache.jena.fuseki.server.OperationName in project jena by apache.
the class JsonDescription method describe.
public static void describe(JsonBuilder builder, DataAccessPoint access) {
builder.startObject();
builder.key(JsonConst.dsName).value(access.getName());
builder.key(JsonConst.dsState).value(access.getDataService().isAcceptingRequests());
builder.key(JsonConst.dsService);
builder.startArray();
for (OperationName opName : access.getDataService().getOperations()) {
List<Endpoint> endpoints = access.getDataService().getOperation(opName);
describe(builder, opName, endpoints);
}
builder.finishArray();
builder.finishObject();
}
Aggregations