use of com.yahoo.vespa.model.container.jersey.RestApi in project vespa by vespa-engine.
the class RestApiBuilder method doBuild.
@Override
protected RestApi doBuild(AbstractConfigProducer ancestor, Element spec) {
String bindingPath = spec.getAttribute("path");
boolean jersey2 = Boolean.parseBoolean(getOptionalAttribute(spec, "jersey2").orElse("false"));
RestApi restApi = new RestApi(bindingPath, jersey2);
restApi.setRestApiContext(createRestApiContext(ancestor, spec, bindingPath));
return restApi;
}
use of com.yahoo.vespa.model.container.jersey.RestApi in project vespa by vespa-engine.
the class ContainerCluster method prepare.
public void prepare() {
addAndSendApplicationBundles();
sendUserConfiguredFiles();
setApplicationMetaData();
for (RestApi restApi : restApiGroup.getComponents()) restApi.prepare();
}
Aggregations