|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.ts.lib.porting.TSHttpsURLConnection
public class TSHttpsURLConnection
TSHttpsURLConnection provides the HTTPS specific featurs
| Constructor Summary | |
|---|---|
TSHttpsURLConnection()
Instantiates the class defined in porting.ts.HttpsURLConnection.class.1 |
|
TSHttpsURLConnection(java.lang.String sClass)
Instantiates the class defined by sClass |
|
| Method Summary | |
|---|---|
void |
disconnect()
Disconnect connection |
java.lang.String |
getHeaderField(int num)
Returns the value for the nth header field. |
java.lang.String |
getHeaderField(java.lang.String name)
Returns the value of the named header field. |
java.io.InputStream |
getInputStream()
Returns an input stream that reads from the open connection |
java.io.OutputStream |
getOutputStream()
Returns an Output stream that writes to the open connection |
void |
init(java.net.URL url)
Initializes HttpsURLConnection |
void |
setDoInput(boolean doInput)
Sets the value of the doInput field for this Connection |
void |
setDoOutput(boolean doOutput)
Sets the value of the doOutput field for this Connection |
void |
setRequestProperty(java.lang.String key,
java.lang.String value)
Sets the general request property. |
void |
setUseCaches(boolean usecaches)
Sets the value of the useCaches field for this Connection If the UseCaches flag on the connection is true, the connection is allowed to use whatever caches it can. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TSHttpsURLConnection()
public TSHttpsURLConnection(java.lang.String sClass)
sClass - - this class is used to instantiate
implementation specific HttpsURLConnection class| Method Detail |
|---|
public void setDoInput(boolean doInput)
setDoInput in interface TSHttpsURLConnectionInterfacedoInput - - the new value (the default is false)public void setDoOutput(boolean doOutput)
setDoOutput in interface TSHttpsURLConnectionInterfacedoOutput - - the new value (the default is false)public void setUseCaches(boolean usecaches)
setUseCaches in interface TSHttpsURLConnectionInterfaceusecaches - - the new value (the default is true)
public void setRequestProperty(java.lang.String key,
java.lang.String value)
setRequestProperty in interface TSHttpsURLConnectionInterfacekey - - the keyword by which the request is knownvalue - - the value associated with itpublic java.lang.String getHeaderField(java.lang.String name)
getHeaderField in interface TSHttpsURLConnectionInterfacename - - the name of the header field.
public java.lang.String getHeaderField(int num)
getHeaderField in interface TSHttpsURLConnectionInterfacenum - - Integer num
public void disconnect()
disconnect in interface TSHttpsURLConnectionInterface
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in interface TSHttpsURLConnectionInterfacejava.io.IOException
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in interface TSHttpsURLConnectionInterfacejava.io.IOException
public void init(java.net.URL url)
throws java.io.IOException
init in interface TSHttpsURLConnectionInterfaceurl - url used to open HttpsURLConnection
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||