jdk/src/java.base/share/classes/sun/net/www/protocol/http/HttpCallerInfo.java
changeset 32649 2ee9017c7597
parent 25859 3317bb8137f4
child 42351 85ed90be0ae1
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
    40  * determined. This object can be fed into AuthenticationHeader to check
    40  * determined. This object can be fed into AuthenticationHeader to check
    41  * for the preference.
    41  * for the preference.
    42  *
    42  *
    43  * 2. Schemed: With the scheme field filled, can be used in JGSS-API calls.
    43  * 2. Schemed: With the scheme field filled, can be used in JGSS-API calls.
    44  */
    44  */
    45 final public class HttpCallerInfo {
    45 public final class HttpCallerInfo {
    46     // All info that an Authenticator needs.
    46     // All info that an Authenticator needs.
    47     final public URL url;
    47     public final URL url;
    48     final public String host, protocol, prompt, scheme;
    48     public final String host, protocol, prompt, scheme;
    49     final public int port;
    49     public final int port;
    50     final public InetAddress addr;
    50     public final InetAddress addr;
    51     final public RequestorType authType;
    51     public final RequestorType authType;
    52 
    52 
    53     /**
    53     /**
    54      * Create a schemed object based on an un-schemed one.
    54      * Create a schemed object based on an un-schemed one.
    55      */
    55      */
    56     public HttpCallerInfo(HttpCallerInfo old, String scheme) {
    56     public HttpCallerInfo(HttpCallerInfo old, String scheme) {