URLConnection.setRequestProperty

URLConnection.setRequestProperty

Class Overview | Class Members | This Package | All Packages

Syntax
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.