public interface HttpEngine
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HttpEngine.Factory |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.InputStream |
read() |
boolean |
requestCompleted(boolean success) |
void |
sendRequest(Tile tile) |
void |
setCache(java.io.OutputStream os) |
java.io.InputStream read()
throws java.io.IOException
java.io.IOExceptionvoid sendRequest(Tile tile) throws java.io.IOException
java.io.IOExceptionvoid close()
void setCache(java.io.OutputStream os)
boolean requestCompleted(boolean success)
success - maybe false when tile could not be decoded.
Dont write cache in this case, close socket, etc
at your option.