code: @Override
      public boolean set(HttpCookie cookie, byte[] attribValue) {
          try {
              if (null != attribValue && 0 < attribValue.length) {
                  cookie.setMaxAge(GenericUtils.asIntValue(attribValue));
                  if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                      Tr.debug(tc, "Cookie max-age set to " + cookie.getMaxAge());
                  }
              }
              return true;
          } catch (NumberFormatException e) {
              FFDCFilter.processException(e, getClass().getName(), "set", this);
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(tc, "Error in cookie max-age attribute: " + String.valueOf(attribValue));
              }
          }
          return false;
      }
docs: /*
  @see
  com.ibm.ws.http.channel.internal.values.CookieData#set(com.ibm.websphere
  .http.HttpCookie, byte[])