code: private boolean checkAvailable(){
          int i = 0;
          try{
              i = this.in.available();
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Current amount immediately available in buffers : " + i);
              }
          } catch (Exception e){
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "There was an IOException during the checkAvailable method : " + e);
              }
          }
          return ((i > 0) ? true : false);
      }
docs: /*
  Call into the HttpInputStream to find out the result of their available call,
  which returns how much data, if any, is available in the current buffer.
  If there is more than 0 bytes of data we return true