Giter Site home page Giter Site logo

Feature: Modern httpClient about jxmapviewer2 HOT 7 OPEN

mikey75 avatar mikey75 commented on July 18, 2024
Feature: Modern httpClient

from jxmapviewer2.

Comments (7)

msteiger avatar msteiger commented on July 18, 2024

Is there anything wrong with the current implementation? It runs multi-threaded in the background and provides tiles in an async manner. You are certainly right saying that many parts of the implementation could be modernized :-)

from jxmapviewer2.

mikey75 avatar mikey75 commented on July 18, 2024

Nothing wrong :) Just a suggestion

from jxmapviewer2.

intuitionbase avatar intuitionbase commented on July 18, 2024

A reason for adding a more flexible HTTP client (like Apache HttpClient) might be more flexibility with proxy configuration and also authentication. Currently, the project runs under the global proxy configuration of the VM.

For my usecase, I'd strongly appreciate the option to set a specific proxy just for JXMapViewer2. Being able to set authentication headers for the map service would be another plus.

Any chance we will see that in the future?

from jxmapviewer2.

msteiger avatar msteiger commented on July 18, 2024

I think that it would be good to have that flexibility - any chance you could implement it and create a PR?

from jxmapviewer2.

intuitionbase avatar intuitionbase commented on July 18, 2024

That's for my employer to decide, but it doesn't look likely, sorry...

from jxmapviewer2.

msteiger avatar msteiger commented on July 18, 2024

Maybe I can sketch something during the next 2-3 weeks ...

from jxmapviewer2.

intuitionbase avatar intuitionbase commented on July 18, 2024

Sounds promising! Ideally, each TileFactory would have its own HttpClient and proxy configuration.

from jxmapviewer2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.