Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compression filter

 
sandeep Talari
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
question and requests regarding compression filters. My knowledge is MyWrapper should extend HttpServletRequestWrapper and override getOutputStream() in your MyWrapper class

in filter class we have to create the object of the MyWrapper class and pass the object to the
chain.dofilter(request, MyWrapResponse)(assuming that chain is object we had from FilterChain.

where GZIP(java.util) is used and its purpose,

and give me Code demonstration for the compression filter with easy explaination or you can post me url
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The head first book has a section that covers this. It is a good tutorial to help you implement what you want to do.
 
sandeep Talari
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i didn't get this part from them any option
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sandeep Talari:
i didn't get this part from them any option


I'm not sure what this means.
Can you ask it again in another way?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sandeep Talari:
i didn't get this part from them any option
Please use complete sentences when posting to the Ranch.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic