Interface HttpEngine

All Known Implementing Classes:
LwHttp

public interface HttpEngine
  • Method Details

    • read

      InputStream read() throws IOException
      Throws:
      IOException
    • sendRequest

      void sendRequest(Tile tile) throws IOException
      Throws:
      IOException
    • close

      void close()
    • setCache

      void setCache(OutputStream os)
    • requestCompleted

      boolean requestCompleted(boolean success)
      Parameters:
      success - maybe false when tile could not be decoded. Dont write cache in this case, close socket, etc at your option.
      Returns:
      true when everything went ok