use of org.ovirt.engine.api.restapi.resource.BaseBackendResource in project ovirt-engine by oVirt.
the class V3Server method setHttpHeaders.
// We need to have the HTTP headers injected, as we need to manually inject into the V4 implementation of the
// service.
@Context
public void setHttpHeaders(HttpHeaders httpHeaders) {
if (delegate instanceof BaseBackendResource) {
BaseBackendResource resource = (BaseBackendResource) delegate;
resource.setHttpHeaders(httpHeaders);
}
}
use of org.ovirt.engine.api.restapi.resource.BaseBackendResource in project ovirt-engine by oVirt.
the class V3Server method setUriInfo.
// We need to have the URI info object injected, as we need to manually inject into the V4 implementation of
// the service.
@Context
public void setUriInfo(UriInfo uriInfo) {
if (delegate instanceof BaseBackendResource) {
BaseBackendResource resource = (BaseBackendResource) delegate;
resource.setUriInfo(uriInfo);
}
}
Aggregations