public static IConnection | createConnection(HttpConnectorAddress h)Returns the newly created connection (instance of {@link IConnection}
to the servlet. Note that the Servlet has to be up and running. If the
server/servlet does not respond, IOException results. Note that this is
by default a connection to request a resource on server side. It is not
guaranteed that the connection is kept alive after it is used to send the data.
Clients are expected to create the instances of IConnection as and when
required, by calling this method.
return new ServletConnection(h);
|