Sets the {@link Function} to use to sanitize request trailing headers before logging. If unset,
will use {@link Function#identity()}.
965083
public T requestTrailersSanitizer(
            Function<? super HttpHeaders, ? extends HttpHeaders> requestTrailersSanitizer) {
        this.requestTrailersSanitizer = requireNonNull(requestTrailersSanitizer, "requestTrailersSanitizer");
        return self();
    }
1018375
public void create_function( String name, int nargs, Function f ) {
        synchronized (this) {
            _create_function(name, nargs, f);
        }
    }
684914
public void setHeader(String name, Object value) {
    verifyType(name, value);
    if (value != null) {
      // Modify header if necessary
      if (!ObjectUtils.nullSafeEquals(value, getHeader(name))) {
        this.modified = true;
        this.headers.put(name, value);
      }
    } else {
      // Remove header if available
      if (this.headers.containsKey(name)) {
        this.modified = true;
        this.headers.remove(name);
      }
    }
  }
972828
public static void mixin(final String funcName, final Function<String, String> func) {
        FUNCTIONS.put(funcName, func);
    }
283310
public static <T, R, E extends Exception> Function<T, R> sneaked(
      SneakyFunction<T, R, E> function) {
    return t -> {
      @SuppressWarnings("unchecked")
      SneakyFunction<T, R, RuntimeException> f1 = (SneakyFunction<T, R, RuntimeException>) function;
      return f1.apply(t);
    };
  }
1367653
public final void setSecurityUserid(String value) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setSecurityUserid", value);
        jmo.setField(JsHdrAccess.SECURITYUSERID, value);
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setSecurityUserid");
    }
466306
public FluentMatchingR<T, R> orElse(Function<T, R> function) {
    patterns.add(Pattern.of(t -> true, function::apply));
    return this;
  }
976665
public void setShardAssigner(KinesisShardAssigner shardAssigner) {
		this.shardAssigner = checkNotNull(shardAssigner, "function can not be null");
		ClosureCleaner.clean(shardAssigner, true);
	}
767857
public void setReplaceStringsConfiguration(
      String placeholderToken, List<String> functionDescriptors) {
    this.replaceStringsPlaceholderToken = placeholderToken;
    this.replaceStringsFunctionDescriptions =
         new ArrayList<>(functionDescriptors);
  }
964131
public void setFunctionName(String functionName) {

		String oldFunctionName = functionName;
		this.functionName = functionName;
		firePropertyChange("FunctionName", oldFunctionName, functionName);
	}
720152
function setFunction(descriptor,key,set,update)
        {
          var _descriptor = descriptor,
              _descVal = _descriptor.value,
              _key = key,
              _set = set,
              _update = update,
              _action;
          return function functionSet()
          {
            if(_set(this,_key,null,null,arguments,this._stopChange))
            {
              _action = _descVal.apply(this,arguments);
            }
            if(!this._stopChange)
            {
              _update(this,_key,null,null,arguments,_action);
            }
            this._stopChange = undefined;
            return _action;
          }
        }
504778
public void setFunctions(java.util.Collection<FunctionConfiguration> functions) {
        if (functions == null) {
            this.functions = null;
            return;
        }

        this.functions = new java.util.ArrayList<FunctionConfiguration>(functions);
    }
871515
public void setIdentifier(String identifier) {
        assertNotNull(identifier);
        this.identifier = identifier;
        setLength(identifier.length());
    }
1175637
public void setHashFunction(HashFunction<byte[]> hashFunction) {
        if(hashFunction == null) {
            throw new IllegalArgumentException("Invalid hashFunction: " + hashFunction);
        }
        
        this._hashFunction = hashFunction;
        this._properties.setProperty(PARAM_HASH_FUNCTION_CLASS, hashFunction.getClass().getName());
    }
446334
public void setAuthMethod(String method)
    {
        if (isStarted() && _authMethod!=null && !_authMethod.equals(method))
            throw new IllegalStateException("Handler started");
        _authMethod = method;
    }
111591
@NonNull
    Completable overwriteUsingDiffUtil(@NonNull final List<? extends T> newContents,
                                         @NonNull final EqualityFunction<? super T> identityEqualityFunction,
                                         @NonNull final EqualityFunction<? super T> contentEqualityFunction) {
        return copyContents().switchMap(new Function<List<? extends T>, Observable<?>>() {
            @Override
            public Observable<Object> apply(List<? extends T> existingContentsCopy) throws Exception {
                return calculateDiff(existingContentsCopy, newContents, identityEqualityFunction, contentEqualityFunction)
                        .switchMap(new Function<DiffUtil.DiffResult, Observable<Object>>() {
                            @Override
                            public Observable<Object> apply(DiffUtil.DiffResult diffResult) throws Exception {
                                return applyNewContentsAndDispatchDiffNotifications(newContents, diffResult).toObservable();
                            }
                        });
            }
        }).ignoreElements();
    }
1306677
private void addObjectIdentity(final Object object) {

        if (object == null) {
            _buffer.append("null");
        } else {
            _buffer.append(object.getClass().getName());
            _buffer.append("@");
            _buffer
                    .append(Integer
                            .toHexString(System.identityHashCode(object)));
        }

    }