code: @Override
      protected void updatePersistence(HttpBaseMessageImpl msg) {
  
          // see if the maximum number of inbound requests have been served
          // otherwise check the msg headers
          if (this.myLink.maxRequestsServed()) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Max requests already processed on this connection");
              }
              setPersistent(false);
          } else if (getResponse().getStatusCode().isErrorCode()) {
              // 346196.4 - error code turns off persistence
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Error status code disabling persistence.");
              }
              setPersistent(false);
          } else {
              super.updatePersistence(msg);
          }
  
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "updatePersistence(inbound) updated: " + isPersistent());
          }
      }
docs: /*
  @see com.ibm.ws.http.channel.internal.HttpServiceContextImpl#updatePersistence(com.ibm.ws.http.channel.internal.HttpBaseMessageImpl)