@Deprecated public class OTRemoteTask extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Exception |
error
Deprecated.
|
protected org.restlet.data.Reference |
result
Deprecated.
|
protected org.restlet.data.Status |
status
Deprecated.
|
protected org.restlet.data.Reference |
url
Deprecated.
|
Constructor and Description |
---|
OTRemoteTask(org.restlet.data.Reference url,
org.restlet.data.MediaType media,
org.restlet.representation.Representation input,
org.restlet.data.Method method)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Exception |
getError()
Deprecated.
|
org.restlet.data.Reference |
getResult()
Deprecated.
|
org.restlet.data.Status |
getStatus()
Deprecated.
|
org.restlet.data.Reference |
getUrl()
Deprecated.
|
protected org.restlet.data.Reference |
handleOutput(InputStream in,
org.restlet.data.Status status,
org.restlet.data.Reference url)
Deprecated.
|
protected org.restlet.data.Reference |
handleOutputRDF(InputStream in,
org.restlet.data.Status status)
Deprecated.
|
boolean |
isAccepted()
Deprecated.
|
boolean |
isCancelled()
Deprecated.
|
boolean |
isCompletedOK()
Deprecated.
|
boolean |
isDone()
Deprecated.
|
boolean |
isERROR()
Deprecated.
|
boolean |
poll()
Deprecated.
returns true if ready
|
boolean |
pollRDF()
Deprecated.
|
protected void |
setError(Exception error)
Deprecated.
|
String |
toString()
Deprecated.
|
protected final org.restlet.data.Reference url
protected org.restlet.data.Status status
protected org.restlet.data.Reference result
protected Exception error
public OTRemoteTask(org.restlet.data.Reference url, org.restlet.data.MediaType media, org.restlet.representation.Representation input, org.restlet.data.Method method) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
protected void setError(Exception error)
public Exception getError()
public boolean isCompletedOK()
public boolean isCancelled()
public boolean isAccepted()
public boolean isERROR()
public boolean isDone()
public org.restlet.data.Reference getUrl()
public org.restlet.data.Status getStatus()
public org.restlet.data.Reference getResult()
public boolean poll()
protected org.restlet.data.Reference handleOutput(InputStream in, org.restlet.data.Status status, org.restlet.data.Reference url) throws org.restlet.resource.ResourceException
in
- status
- url
- the url contacted - for returning proper error onlyorg.restlet.resource.ResourceException
public boolean pollRDF()
protected org.restlet.data.Reference handleOutputRDF(InputStream in, org.restlet.data.Status status) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.