code: public int getMaxSmResumptionTime() {
          int clientResumptionTime = smClientMaxResumptionTime > 0 ? smClientMaxResumptionTime : Integer.MAX_VALUE;
          int serverResumptionTime = smServerMaxResumptionTime > 0 ? smServerMaxResumptionTime : Integer.MAX_VALUE;
          return Math.min(clientResumptionTime, serverResumptionTime);
      }
docs: Get the maximum resumption time in seconds after which a managed stream can be resumed.
  <p>
  This method will return {@link Integer#MAX_VALUE} if neither the client nor the server specify a maximum
  resumption time. Be aware of integer overflows when using this value, e.g. do not add arbitrary values to it
  without checking for overflows before.
  </p>
  
  @return the maximum resumption time in seconds or {@link Integer#MAX_VALUE} if none set.