Class LwHttp

  • All Implemented Interfaces:
    org.oscim.tiling.source.HttpEngine

    public class LwHttp
    extends java.lang.Object
    implements org.oscim.tiling.source.HttpEngine
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LwHttp.LwHttpFactory  
      • Nested classes/interfaces inherited from interface org.oscim.tiling.source.HttpEngine

        org.oscim.tiling.source.HttpEngine.Factory
    • Constructor Summary

      Constructors 
      Constructor Description
      LwHttp​(org.oscim.tiling.source.UrlTileSource tileSource)  
    • Constructor Detail

      • LwHttp

        public LwHttp​(org.oscim.tiling.source.UrlTileSource tileSource)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface org.oscim.tiling.source.HttpEngine
      • sendRequest

        public void sendRequest​(org.oscim.layers.tile.MapTile tile,
                                UrlTileDataSource dataSource)
      • read

        public java.io.InputStream read()
                                 throws java.io.IOException
        Specified by:
        read in interface org.oscim.tiling.source.HttpEngine
        Throws:
        java.io.IOException
      • setCache

        public void setCache​(java.io.OutputStream os)
        Specified by:
        setCache in interface org.oscim.tiling.source.HttpEngine
      • requestCompleted

        public boolean requestCompleted​(boolean success)
        Specified by:
        requestCompleted in interface org.oscim.tiling.source.HttpEngine
      • sendRequest

        public void sendRequest​(org.oscim.core.Tile tile)
                         throws java.io.IOException
        Specified by:
        sendRequest in interface org.oscim.tiling.source.HttpEngine
        Throws:
        java.io.IOException