private boolean isIncluded(final HttpServletRequest request){
  final String uri=(String)request.getAttribute("javax.servlet.include.request_uri");
  final boolean includeRequest=!(uri == null);
  if (includeRequest && LOG.isDebugEnabled()) {
    LOG.debug(request.getRequestURL() + " resulted in an include request. This is unusable, because" + "the response will be assembled into the overrall response. Not gzipping.");
  }
  return includeRequest;
}

private boolean isIncluded ( final HttpServletRequest request ) { final String uri = ( String ) request . getAttribute ( "javax.servlet.include.request_uri" ) ; final boolean includeRequest = ! ( uri == null ) ; if ( includeRequest && LOG . isDebugEnabled ( ) ) { LOG . debug ( request . getRequestURL ( ) + " resulted in an include request. This is unusable, because" + "the response will be assembled into the overrall response. Not gzipping." ) ; } return includeRequest ; }
checks if the request uri is an include . these cannot be gzipped .
