use of org.apache.stanbol.commons.viewable.Viewable in project stanbol by apache.
the class ContentItemResource method get.
@GET
@Produces(TEXT_HTML)
public Response get(@Context HttpHeaders headers) {
ResponseBuilder rb = Response.ok(new Viewable("index", this));
rb.header(HttpHeaders.CONTENT_TYPE, TEXT_HTML + "; charset=utf-8");
// addCORSOrigin(servletContext,rb, headers);
return rb.build();
}
Aggregations