- The java.net package provides the interfaces and classes for implementing networking applications.Interfaces of java.net packageInterfaceUseContentHandlerFactoryThis interface defines a factory for content handlers.CookiePolicyCookiePolicy implementations decide which cookies should be accepted and which should be rejected.CookieStoreA CookieStore object represents storage for cookie.DatagramSocketImplFactoryThis interface defines a factory for datagram socket implementations.FileNameMapA simple interface which provides a mechanism to map between a file name and a MIME type string.SocketImplFactoryThis interface defines a factory for socket implementations.SocketOptionsInterface of methods to get/set socket options.URLStreamHandlerFactoryThis interface defines a factory for URL stream protocol handlers.Classes of java.net packageThe classes in the networking package fall into three general categories:Web interface classes
- URL and URLConnection classes
- Raw network interface classes
Class
|
Use
|
ContentHandler
|
Super class of the classes that turn MIME objects into corresponding Java objects
|
CookieHandler
|
A CookieHandler object provides a callback mechanism to hook up a HTTP state management policy implementation into the HTTP protocol handler.
|
CookieManager
|
CookieManager provides a concrete implementation of CookieHandler, which separates the storage of cookies from the policy surrounding accepting and rejecting cookies.
|
DatagramPacket
|
This class represents a datagram packet.
|
DatagramSocket
|
This class represents a socket for sending and receiving datagram packets.
|
Inet4Address
|
This class represents an Internet Protocol version 4 (IPv4) address.
|
Inet6Address
|
This class represents an Internet Protocol version 6 (IPv6) address.
|
InetAddress
|
This class represents an Internet Protocol (IP) address.
|
NetPermission
|
This class is for various network permissions.
|
PasswordAuthentication
|
The class PasswordAuthentication is a data holder that is used by Authenticator.
|
Proxy
|
This class represents a proxy setting, typically a type (http, socks) and a socket address.
|
ResponseCache
|
Represents implementations of URLConnection caches.
|
ServerSocket
|
This class implements server sockets.
|
Socket
|
This class implements client sockets (also called just "sockets").
|
URI
|
Represents a Uniform Resource Identifier(URI) reference.
|
URL
|
Class URL represents a Uniform Resource Locator, a pointer to a "resource" on the World Wide Web.
|
URLConnection
|
The abstract class URLConnection is the superclass of all classes that represent a communications link between the application and a URL.
|
that was cool only that it was detailed !!
ReplyDelete