URLConnection.setRequestProperty
Class Overview | Class Members |
This Package |
All Packages
public void setRequestProperty( String key,
String value )
Parameters
- key
- the keyword by which the request is known
(e.g., "accept").
- value
- the value associated with it.
Description
Sets the general request property.