public class JobsResource
extends org.apache.stanbol.commons.web.base.resource.BaseStanbolResource
| Constructor and Description |
|---|
JobsResource(javax.servlet.ServletContext servletContext,
javax.ws.rs.core.HttpHeaders headers) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
get(String id,
javax.ws.rs.core.HttpHeaders headers)
To read a /reasoners job output.
|
String |
getJobLocation()
If the output is not ready, this field contains the location of the job to be rendered in the viewable.
|
javax.ws.rs.core.Response |
handleCorsPreflight(javax.ws.rs.core.HttpHeaders headers) |
public JobsResource(@Context
javax.servlet.ServletContext servletContext,
@Context
javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response get(String id, @Context javax.ws.rs.core.HttpHeaders headers)
id - public String getJobLocation()
public javax.ws.rs.core.Response handleCorsPreflight(@Context
javax.ws.rs.core.HttpHeaders headers)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.