[go: nahoru, domu]

Skip to content

Commit

Permalink
Add getAuthenticateAsList to HttpHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
peleyal committed Jun 20, 2013
1 parent f9b06f7 commit aad67d3
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,15 @@ public final String getAuthenticate() {
return getFirstHeaderValue(authenticate);
}

/**
* Returns all {@code "WWW-Authenticate"} headers or {@code null} for none.
*
* @since 1.16
*/
public final List<String> getAuthenticateAsList() {
return authenticate;
}

/**
* Sets the {@code "WWW-Authenticate"} header or {@code null} for none.
*
Expand Down

0 comments on commit aad67d3

Please sign in to comment.