简体   繁体   中英

Compress an HTTP Request in java

I want to compress my HTTP request before sending it in java. how to do please ? I'm using JBoss4.2 as a Server

I guess you mean "response". See here on how to do it - you have to enable GZIP compression.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM