/** * boolean function * * @param name String to set * @return true if this header has the specified parameter, false otherwise. */ public boolean hasParameter(String name) { return authParams.getNameValue(name) != null; }