|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Compressible
Interface that can be implemented by controllers that deliver compressible content.
Method Summary | |
---|---|
boolean |
gzipResponse(HttpServletRequest request)
Returns whether the response should be gzipped. |
Method Detail |
---|
boolean gzipResponse(HttpServletRequest request)
true
, unless they serve multiple content
types which and not all of them are eligible for compression. They
don't have to check whether the client supports gzip
compression as all compatibility checks are done by Cachius
internally
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |