How to enable compression of server's http response in JBoss EAP 6? Use GZIP

Solution Verified - Updated -

Issue

  • How can we enable the Http Compression for HttpServletResponse in JBoss EAP6 ?
  • Is GZIP compression still supported in EAP 6, and if so, how should implement it?
  • Is GZIP for JSON response can be done using -Dorg.apache.coyote.http11.Http11Protocol.COMPRESSION=ON ?
  • How to enable gzip compression in JBoss EAP 6?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.