src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AuthenticationFilter.java
branchhttp-client-branch
changeset 55848 5c13ff6e444b
parent 55818 725576a6821e
child 55973 4d9b002587db
equal deleted inserted replaced
55847:3bac3bca4adb 55848:5c13ff6e444b
    52             "jdk.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT);
    52             "jdk.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT);
    53 
    53 
    54     static final int UNAUTHORIZED = 401;
    54     static final int UNAUTHORIZED = 401;
    55     static final int PROXY_UNAUTHORIZED = 407;
    55     static final int PROXY_UNAUTHORIZED = 407;
    56 
    56 
       
    57     // A public no-arg constructor is required by FilterFactory
       
    58     public AuthenticationFilter() {}
       
    59 
    57     private PasswordAuthentication getCredentials(String header,
    60     private PasswordAuthentication getCredentials(String header,
    58                                                   boolean proxy,
    61                                                   boolean proxy,
    59                                                   HttpRequestImpl req)
    62                                                   HttpRequestImpl req)
    60         throws IOException
    63         throws IOException
    61     {
    64     {