public class LwHttp extends java.lang.Object implements HttpEngine
| Modifier and Type | Class and Description |
|---|---|
static class |
LwHttp.LwHttpFactory |
HttpEngine.Factory| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.io.InputStream |
read() |
boolean |
requestCompleted(boolean ok) |
void |
sendRequest(Tile tile) |
void |
setCache(java.io.OutputStream os) |
public java.io.InputStream read()
throws java.io.IOException
read in interface HttpEnginejava.io.IOExceptionpublic void sendRequest(Tile tile) throws java.io.IOException
sendRequest in interface HttpEnginejava.io.IOExceptionpublic void close()
close in interface HttpEnginepublic void setCache(java.io.OutputStream os)
setCache in interface HttpEnginepublic boolean requestCompleted(boolean ok)
requestCompleted in interface HttpEngineok - maybe false when tile could not be decoded.
Dont write cache in this case, close socket, etc
at your option.