/** * Creates a new AuthenticationInfoHeader based on the newly supplied * response value. * * @param response - the new string value of the response. * @throws ParseException which signals that an error has been reached * unexpectedly while parsing the response value. * @return the newly created AuthenticationInfoHeader object. * @since v1.1 */ public AuthenticationInfoHeader createAuthenticationInfoHeader(String response) throws ParseException { if (response == null) throw new NullPointerException("null arg response"); AuthenticationInfo auth = new AuthenticationInfo(); auth.setResponse(response); return auth; }