Coder Social home page Coder Social logo

Comments (9)

johnament avatar johnament commented on August 17, 2024

@Ravisankar-Challa could you provide some more information here?

from microprofile-rest-client.

andymc12 avatar andymc12 commented on August 17, 2024

I think for MP Rest Client 1.0, we'll implement this item similarly to issue #53 - where proxy configuration of proxy host/port/etc is done via vendor-specific properties. For many implementations, the proxyHost/proxyPort system properties will work (assuming that the underlying client implementation uses HttpUrlConnection). Otherwise clients could use vendor-specific properties via the RestClientBuilder.property(String, Object) API.

For future versions of the MP Rest Client, we should consider making this more standard - maybe a new method(s) on RestClientBuilder for proxy config.

from microprofile-rest-client.

Ravisankar-Challa avatar Ravisankar-Challa commented on August 17, 2024

@johnament
Thanks for clarifying that future versions provide a standard (vendor neutral) way of specifying proxy and non proxy hosts.

from microprofile-rest-client.

rcgitaccounnt avatar rcgitaccounnt commented on August 17, 2024

Dears
Kindly let me know how is this issue resloved , what is the method RestClientbuilder to set in the proxy host and the port . I still have the issue .

from microprofile-rest-client.

andymc12 avatar andymc12 commented on August 17, 2024

@rcgitaccounnt Thanks for the post. I'll try to get something written up for this for the 2.0 release.

In short, I think we will need new proxyHost(...) and proxyPort(...) methods on the RestClientBuilder and the similar MP Config properties.

The deadline for 2.0 is coming quickly though, so I cannot make any promises. The changes to the spec document and API are fairly simple, but testing an implementation with the TCK may be somewhat complex.

from microprofile-rest-client.

rcgitaccounnt avatar rcgitaccounnt commented on August 17, 2024

@andymc12 Thanks for your reply . hopefully awaiting in the release 2.0

from microprofile-rest-client.

andymc12 avatar andymc12 commented on August 17, 2024

After some more thought, I will plan to use a single proxyAddress(String host, int port) method. This makes it one less line of code for most users, and avoids scenarios where the port is specified but the hostname isn't, etc.

from microprofile-rest-client.

rcgitaccounnt avatar rcgitaccounnt commented on August 17, 2024

@andymc12 Thanks for your support

from microprofile-rest-client.

ambition-consulting avatar ambition-consulting commented on August 17, 2024

Was proxy authentication forgotten or isn't it a feature obviously required in companies that use proxies?

from microprofile-rest-client.

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.