Can web service clients close HTTP connections explicitly at each request?

Solution Unverified - Updated -

Issue

  • I have a web service client which invokes a web service deployed on JBoss server.
  • By default, HTTP/1.1 requests are keep-alive, which means that HTTP connections are reused by a web service client.
  • Is there any way we can close HTTP connections at each web service request?

Environment

  • JBoss Enterprise Application Platform
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content