< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xerces/internal/util/HTTPInputSource.java

Print this page
rev 903 : 8153781: Issue in XMLScanner: EXPECTED_SQUARE_BRACKET_TO_CLOSE_INTERNAL_SUBSET
   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */

   5 /*
   6  * Copyright 2004,2005 The Apache Software Foundation.
   7  *
   8  * Licensed under the Apache License, Version 2.0 (the "License");
   9  * you may not use this file except in compliance with the License.
  10  * You may obtain a copy of the License at

  11  *
  12  *      http://www.apache.org/licenses/LICENSE-2.0
  13  *
  14  * Unless required by applicable law or agreed to in writing, software
  15  * distributed under the License is distributed on an "AS IS" BASIS,
  16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17  * See the License for the specific language governing permissions and
  18  * limitations under the License.
  19  */

  20 package com.sun.org.apache.xerces.internal.util;
  21 


  22 import java.io.InputStream;
  23 import java.io.Reader;
  24 
  25 import java.util.HashMap;
  26 import java.util.Iterator;
  27 import java.util.Map;
  28 
  29 import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier;
  30 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  31 
  32 /**
  33  * This class represents an input source for an XML resource
  34  * retrievable over HTTP. In addition to the properties
  35  * provided by an <code>XMLInputSource</code> an HTTP input
  36  * source also has HTTP request properties and a preference
  37  * whether HTTP redirects will be followed. Note that these
  38  * properties will only be used if reading this input source
  39  * will induce an HTTP connection.
  40  *
  41  * @author Michael Glavassevich, IBM
  42  *
  43  */
  44 public final class HTTPInputSource extends XMLInputSource {
  45 
  46     //
  47     // Data
  48     //
  49 
  50     /** Preference for whether HTTP redirects should be followed. **/


   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 
   6 /*
   7  * Licensed to the Apache Software Foundation (ASF) under one or more
   8  * contributor license agreements.  See the NOTICE file distributed with
   9  * this work for additional information regarding copyright ownership.
  10  * The ASF licenses this file to You under the Apache License, Version 2.0
  11  * (the "License"); you may not use this file except in compliance with
  12  * the License.  You may obtain a copy of the License at
  13  *
  14  *     http://www.apache.org/licenses/LICENSE-2.0
  15  *
  16  * Unless required by applicable law or agreed to in writing, software
  17  * distributed under the License is distributed on an "AS IS" BASIS,
  18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  19  * See the License for the specific language governing permissions and
  20  * limitations under the License.
  21  */
  22 
  23 package com.sun.org.apache.xerces.internal.util;
  24 
  25 import com.sun.org.apache.xerces.internal.xni.XMLResourceIdentifier;
  26 import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource;
  27 import java.io.InputStream;
  28 import java.io.Reader;

  29 import java.util.HashMap;
  30 import java.util.Iterator;
  31 import java.util.Map;



  32 
  33 /**
  34  * This class represents an input source for an XML resource
  35  * retrievable over HTTP. In addition to the properties
  36  * provided by an <code>XMLInputSource</code> an HTTP input
  37  * source also has HTTP request properties and a preference
  38  * whether HTTP redirects will be followed. Note that these
  39  * properties will only be used if reading this input source
  40  * will induce an HTTP connection.
  41  *
  42  * @author Michael Glavassevich, IBM
  43  *
  44  */
  45 public final class HTTPInputSource extends XMLInputSource {
  46 
  47     //
  48     // Data
  49     //
  50 
  51     /** Preference for whether HTTP redirects should be followed. **/


< prev index next >