开发者

Is there a way to define a timeout based on the url?

开发者 https://www.devze.com 2023-02-25 12:47 出处:网络
I am looking for a solution for timeout passing to my application with minimum code injection in it. So, is there a way to pass timeout parameter to a connection based on url prefix? Spring and weblo

I am looking for a solution for timeout passing to my application with minimum code injection in it.

So, is there a way to pass timeout parameter to a connection based on url prefix? Spring and weblogic included 开发者_如何学运维solutions are needed.


So, is there a way to pass timeout parameter to a connection based on url prefix?

Not that I've heard of. Certainly the URL, URI and HTTP specs don't provide a standard way to include timeout as part of a request.

Spring and weblogic included solutions are needed.

See above. I've never heard of any general (or Spring or Weblogic specific) solutions that allow you to do this via the URL.


Any ideas?

It would help if you were more specific about the problem you were trying to solve.

What kind of timeout you are talking about? Client-side timeout on connect? Client-side timeout on receipt of a response? Some kind of server-side timeout?

What is the use-case?

What are the constraints?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号