Brief about java.net.HttpURLConnection class

Brief about java.net.HttpURLConnection class

This class inherits from URLConnection. The HTTP specific features are supported by this class. Each instance of HttpURLConnection is used to make a single request, but HTTP server which is under the network connection can be transparent to the shared instances. A HttpURLConnection request may be freed by using close() method on the InputStream or the OutputStream. The underlying socket can be closed by invoking disconnect() method.
Java - Brief about java.net.JarURLConnection class
java.net.JarURLConnection class - This class is used to establish a connection to a JAR file or to an entry of the JAR file. The syntax is...
Explain how to create and use sockets in java
creating client socket : socket=new Socket('localhost',4000); //InetAddress.getByName ('127.0.0.1')...
JAVA Threading
Explain how to create thread in Java, What are native operating system threads?, What is a green thread?, What is a working thread?...
Post your comment