|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSHttpsURLConnectionInterface
TSHttpsURLConnection provides the HTTPS specific featurs
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. |
Method Detail |
---|
void setDoInput(boolean doInput)
doInput
- - the new value (the default is false)void setDoOutput(boolean doOutput)
doOutput
- - the new value (the default is false)void setUseCaches(boolean usecaches)
usecaches
- - the new value (the default is true)void setRequestProperty(java.lang.String key, java.lang.String value)
key
- - the keyword by which the request is knownvalue
- - the value associated with itjava.lang.String getHeaderField(java.lang.String name)
name
- - the name of the header field.
java.lang.String getHeaderField(int num)
num
- - Integer num
void disconnect()
java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
java.io.OutputStream getOutputStream() throws java.io.IOException
java.io.IOException
void init(java.net.URL url) throws java.io.IOException
url
- url used to open HttpsURLConnection
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |