|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.net.URLConnection | +--com.ibm.net.protocol.rmi.URLConnectionForRMI
An instance of this class creates a communication link between an application and an atp server.
Field Summary | |
protected static boolean |
verbose
|
Fields inherited from class java.net.URLConnection |
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches |
Constructor Summary | |
URLConnectionForRMI(java.net.URL url)
Create a new instance of this class. |
Method Summary | |
void |
connect()
Make a comminucation link with the destination. |
java.lang.String |
getHeaderField(java.lang.String key)
|
java.lang.String |
getHeaderField(java.lang.String key,
java.lang.String defValue)
|
java.io.InputStream |
getInputStream()
Get an input stream of the communication link. |
java.lang.String |
getRequestProperty(java.lang.String key)
|
void |
setRequestProperty(java.lang.String key,
java.lang.String value)
|
Methods inherited from class java.net.URLConnection |
getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setUseCaches, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static boolean verbose
Constructor Detail |
public URLConnectionForRMI(java.net.URL url) throws java.io.IOException
url
- a destination URL to which the application connects.
The protocol is "atp".Method Detail |
public void connect() throws java.io.IOException
connect
in class java.net.URLConnection
java.io.IOException
- if can not make a communication link.public java.lang.String getHeaderField(java.lang.String key)
getHeaderField
in class java.net.URLConnection
public java.lang.String getHeaderField(java.lang.String key, java.lang.String defValue)
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.URLConnection
java.io.IOException
- if the communication link has a problem.public java.lang.String getRequestProperty(java.lang.String key)
getRequestProperty
in class java.net.URLConnection
public void setRequestProperty(java.lang.String key, java.lang.String value)
setRequestProperty
in class java.net.URLConnection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |