public interface HTTPReplyHandler
HTTPReplyHandler in order to receive
the data and provide a valid HTTP-response sent back to the HTTP-client. The
URL of the HTTP-service is provided in order to allow the activity to extend
it by further information needed by the activity. | Modifier and Type | Method and Description |
|---|---|
HTMLContext.Response |
getResponse(HTMLContext.HTTPReply reply)
Provides the reply handler with the parameters retrieved by the
HTTP-request.
|
void |
setBaseURL(java.net.URL baseURL)
Sets the base URL on which the reply handler is reachable via HTTP.
|
void setBaseURL(java.net.URL baseURL)
baseURL - The URL on which this reply handler is reachable via HTTP.HTMLContext.Response getResponse(HTMLContext.HTTPReply reply) throws java.lang.InterruptedException
InterruptedException to indicate an exceptional situation
which will not be responded to by this handler.reply - The parameters sent by the HTTP-client to the URL of this
handler. This must not be null!java.lang.InterruptedException - If the waiting thread is interrupted and
should no longer wait for a response, an
InterruptedException will be thrown.