< prev index next >

src/com/sun/javatest/httpd/httpURL.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg


 132     }
 133 
 134     /**
 135      * Get the remote hostname.  Fully resolved host names are not required.
 136      *
 137      * @throws Fault This info is not always available, so this exception may
 138      *               be thrown.
 139      */
 140     public String getRemoteHost() throws Fault {
 141         if (rHost == null)
 142             throw new Fault("Remote hostname for URL not available");
 143         else
 144             return rHost;
 145     }
 146 
 147     // ------- Key-Value Processing ---------
 148     /**
 149      * Set the key-value pairs encoded in this URL.
 150      * Not implemented yet.
 151      */
 152     public void setProperties(Dictionary props) {
 153     }
 154 
 155     /**
 156      * Not implemented yet.
 157      */
 158     public String[] getKeys() {
 159         return null;
 160     }
 161 
 162     /**
 163      * Not implemented yet.
 164      */
 165     public String[] getValues() {
 166         return null;
 167     }
 168 
 169     /**
 170      * Not implemented yet.
 171      */
 172     public String getValue(String key) {




 132     }
 133 
 134     /**
 135      * Get the remote hostname.  Fully resolved host names are not required.
 136      *
 137      * @throws Fault This info is not always available, so this exception may
 138      *               be thrown.
 139      */
 140     public String getRemoteHost() throws Fault {
 141         if (rHost == null)
 142             throw new Fault("Remote hostname for URL not available");
 143         else
 144             return rHost;
 145     }
 146 
 147     // ------- Key-Value Processing ---------
 148     /**
 149      * Set the key-value pairs encoded in this URL.
 150      * Not implemented yet.
 151      */
 152     public void setProperties(Dictionary<String, String> props) {
 153     }
 154 
 155     /**
 156      * Not implemented yet.
 157      */
 158     public String[] getKeys() {
 159         return null;
 160     }
 161 
 162     /**
 163      * Not implemented yet.
 164      */
 165     public String[] getValues() {
 166         return null;
 167     }
 168 
 169     /**
 170      * Not implemented yet.
 171      */
 172     public String getValue(String key) {


< prev index next >