Skip to content

Commit aad67d3

Browse files
committed
Add getAuthenticateAsList to HttpHeaders
https://codereview.appspot.com/10450044/
1 parent f9b06f7 commit aad67d3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

google-http-client/src/main/java/com/google/api/client/http/HttpHeaders.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,15 @@ public final String getAuthenticate() {
786786
return getFirstHeaderValue(authenticate);
787787
}
788788

789+
/**
790+
* Returns all {@code "WWW-Authenticate"} headers or {@code null} for none.
791+
*
792+
* @since 1.16
793+
*/
794+
public final List<String> getAuthenticateAsList() {
795+
return authenticate;
796+
}
797+
789798
/**
790799
* Sets the {@code "WWW-Authenticate"} header or {@code null} for none.
791800
*

0 commit comments

Comments
 (0)