public boolean isTransferEncodingChunked(){
  String transferEncoding=getHeader(TRANSFER_ENCODING);
  if (transferEncoding != null && transferEncoding.equalsIgnoreCase(_CHUNKED)) {
    return true;
  }
  return false;
}

public boolean isTransferEncodingChunked ( ) { String transferEncoding = getHeader ( TRANSFER_ENCODING ) ; if ( transferEncoding != null && transferEncoding . equalsIgnoreCase ( _CHUNKED ) ) { return true ; } return false ; }
check if transfer encoding chunked is set in this header .
