jdk/src/java.base/share/classes/sun/net/www/protocol/http/HttpURLConnection.java
changeset 32649 2ee9017c7597
parent 31061 fead7d86d75f
child 32834 e1dca5fe4de3
equal deleted inserted replaced
32648:1fa861caf840 32649:2ee9017c7597
   104      */
   104      */
   105     static final boolean validateProxy;
   105     static final boolean validateProxy;
   106     static final boolean validateServer;
   106     static final boolean validateServer;
   107 
   107 
   108     private StreamingOutputStream strOutputStream;
   108     private StreamingOutputStream strOutputStream;
   109     private final static String RETRY_MSG1 =
   109     private static final String RETRY_MSG1 =
   110         "cannot retry due to proxy authentication, in streaming mode";
   110         "cannot retry due to proxy authentication, in streaming mode";
   111     private final static String RETRY_MSG2 =
   111     private static final String RETRY_MSG2 =
   112         "cannot retry due to server authentication, in streaming mode";
   112         "cannot retry due to server authentication, in streaming mode";
   113     private final static String RETRY_MSG3 =
   113     private static final String RETRY_MSG3 =
   114         "cannot retry due to redirection, in streaming mode";
   114         "cannot retry due to redirection, in streaming mode";
   115 
   115 
   116     /*
   116     /*
   117      * System properties related to error stream handling:
   117      * System properties related to error stream handling:
   118      *
   118      *
  2855         }
  2855         }
  2856         return false;
  2856         return false;
  2857     }
  2857     }
  2858 
  2858 
  2859     // constant strings represent set-cookie header names
  2859     // constant strings represent set-cookie header names
  2860     private final static String SET_COOKIE = "set-cookie";
  2860     private static final String SET_COOKIE = "set-cookie";
  2861     private final static String SET_COOKIE2 = "set-cookie2";
  2861     private static final String SET_COOKIE2 = "set-cookie2";
  2862 
  2862 
  2863     /**
  2863     /**
  2864      * Returns a filtered version of the given headers value.
  2864      * Returns a filtered version of the given headers value.
  2865      *
  2865      *
  2866      * Note: The implementation currently only filters out HttpOnly cookies
  2866      * Note: The implementation currently only filters out HttpOnly cookies