|
|||||||||
| Home >> All >> java >> [ net overview ] | PREV NEXT | ||||||||
A
- ACK_TYPE - Static variable in class java.net.ZObject
- ANY_IF - Static variable in class java.net.InetAddress
- Dummy InetAddress, used to bind socket to any (all) network interfaces.
- AUTHORITY_GROUP - Static variable in class java.net.URI
- Index of authority component in parsed URI.
- AUTHORITY_HOST_GROUP - Static variable in class java.net.URI
- Index of host component in parsed authority section.
- AUTHORITY_PATTERN - Static variable in class java.net.URI
- The compiled version of the authority regular expression.
- AUTHORITY_PORT_GROUP - Static variable in class java.net.URI
- Index of port component in parsed authority section.
- AUTHORITY_REGEXP - Static variable in class java.net.URI
- Regular expression for parsing the authority segment.
- AUTHORITY_USERINFO_GROUP - Static variable in class java.net.URI
- Index of userinfo component in parsed authority section.
- Ac - Static variable in class java.net.LinearInterpolator
- AckException - exception java.net.AckException.
- This exception is used to vehiculate the sequence number that originated the ack.
- AckException(long) - Constructor for class java.net.AckException
- A simple constructor used to build the object storing the sequence number.
- At - Static variable in class java.net.LinearInterpolator
- Authenticator - class java.net.Authenticator.
- This abstract class provides a model for obtaining authentication information (in the form of a username and password) required by some network operations (such as hitting a password protected web site).
- Authenticator() - Constructor for class java.net.Authenticator
- Default, no-argument constructor for subclasses to call.
- accept(PlainSocketImpl) - Method in class java.net.PlainSocketImpl
- accept(SocketImpl) - Method in class java.net.PlainSocketImpl
- accept() - Method in class java.net.ServerSocket
- Accepts a new connection and returns a connected
Socketinstance representing that connection. - accept(SocketImpl) - Method in class java.net.SocketImpl
- Accepts a connection on this socket.
- actions - Variable in class java.net.SocketPermission
- A comma separated list of actions for which we have permission
- addBytes(byte[]) - Method in class java.net.ZInputStream
- This method adds a byte array to the internal buffer thus enlarging it.
- addPacket(DatagramPacket) - Method in class java.net.DConnector
- This method clones a received packet and adds it to the packet queue so it can be later retrieved.
- addRequestProperty(String, String) - Method in class java.net.URLConnection
- Adds a new request property by a key/value pair.
- addURL(URL) - Method in class java.net.URLClassLoader
- Adds a new location to the end of the internal URL store.
- addURLImpl(URL) - Method in class java.net.URLClassLoader
- addURLs(URL[]) - Method in class java.net.URLClassLoader
- Adds an array of new locations to the end of the internal URL store.
- addr - Variable in class java.net.Authenticator
- InternetAddress of the site requesting authentication
- addr - Variable in class java.net.InetAddress
- An array of octets representing an IP address.
- addr - Variable in class java.net.InetSocketAddress
- Address of host.
- address - Variable in class java.net.DatagramPacket
- The address to which the packet should be sent or from which it was received.
- address - Variable in class java.net.InetAddress
- The Serialized Form specifies that an int 'address' is saved/restored.
- address - Variable in class java.net.SocketImpl
- The address of the remote end of the socket connection
- allowUserInteraction - Variable in class java.net.URLConnection
- This variable determines whether or not interaction is allowed with the user.
- aton(String) - Static method in class java.net.InetAddress
- If hostname is a valid numeric IP address, return the numeric address.
- authority - Variable in class java.net.URI
- authority - Variable in class java.net.URL
- The "authority" portion of the URL.
- available() - Method in class java.net.PlainSocketImpl.SocketInputStream
- available() - Method in class java.net.PlainSocketImpl
- available() - Method in class java.net.SocketImpl
- Returns the number of bytes that the caller can read from this socket without blocking.
B
- Bc - Static variable in class java.net.LinearInterpolator
- BindException - exception java.net.BindException.
- This exception indicates that an error occurred while attempting to bind socket to a particular port.
- BindException() - Constructor for class java.net.BindException
- Create a new instance without a descriptive error message.
- BindException(String) - Constructor for class java.net.BindException
- Create a new instance with a descriptive error message, such as the text from strerror(3).
- Bt - Static variable in class java.net.LinearInterpolator
- baseJarURL - Variable in class java.net.URLClassLoader.JarURLLoader
- baseURL - Variable in class java.net.URLClassLoader.URLLoader
- The base URL from which all resources are loaded.
- bind(SocketAddress) - Method in class java.net.DatagramSocket
- Binds the socket to the given socket address.
- bind(int, InetAddress) - Method in class java.net.DatagramSocketImpl
- This method binds the socket to the specified local port and address.
- bind(int, InetAddress) - Method in class java.net.PlainDatagramSocketImpl
- bind(InetAddress, int) - Method in class java.net.PlainSocketImpl
- bind(SocketAddress) - Method in class java.net.ServerSocket
- Binds the server socket to a specified socket address
- bind(SocketAddress, int) - Method in class java.net.ServerSocket
- Binds the server socket to a specified socket address
- bind(SocketAddress) - Method in class java.net.Socket
- Binds the socket to the givent local address/port
- bind(InetAddress, int) - Method in class java.net.SocketImpl
- Binds to the specified port on the specified addr.
- bound - Variable in class java.net.DatagramSocket
- True if socket is bound.
- bound - Variable in class java.net.Socket
- True if the socket is bound.
- buffer - Variable in class java.net.DatagramPacket
- The data buffer to send
C
- COMPR_TYPE - Static variable in class java.net.ZObject
- Compressor - interface java.net.Compressor.
- This interface models the common methods that every compressor must provide in order to be used as a "plugin" into the compression layer.
- ConnectException - exception java.net.ConnectException.
- This exception indicates that an error occurred while attempting to connect to a remote host.
- ConnectException() - Constructor for class java.net.ConnectException
- Create a new instance without a descriptive error message.
- ConnectException(String) - Constructor for class java.net.ConnectException
- Create a new instance with a descriptive error message, such as the text from strerror(3).
- Connector - class java.net.Connector.
- This class manage the compression layer for the stream (connected) scenario.
- Connector(InputStream, OutputStream) - Constructor for class java.net.Connector
- This constructor is used when the connector is not yet started and it is request by the method getInputStream 55 of our socket implementation.
- Connector(OutputStream, InputStream) - Constructor for class java.net.Connector
- See the previous constructor keeping in mind this one works for getOutputStream 55
- ContentHandler - class java.net.ContentHandler.
- This is an abstract class that is the superclass for classes that read objects from URL's.
- ContentHandler() - Constructor for class java.net.ContentHandler
- Default, no-argument constructor.
- ContentHandlerFactory - interface java.net.ContentHandlerFactory.
- This interface maps MIME types to
ContentHandlerobjects. - cache_handlers - Static variable in class java.net.URL
- Whether or not to cache protocol handlers.
- canonicalizeFilename(String) - Static method in class java.net.URLStreamHandler
- check(byte[], int) - Static method in class java.net.D
- This utility method checks the passed buffer for negative length or for total zeroed content.
- classPath - Variable in class java.net.URLClassLoader.JarURLLoader
- classloader - Variable in class java.net.URLClassLoader.URLLoader
- Our classloader to get info from if needed.
- close() - Method in class java.net.DatagramSocket
- Closes this datagram socket.
- close() - Method in class java.net.DatagramSocketImpl
- This methods closes the socket
- close() - Method in class java.net.PlainDatagramSocketImpl
- close() - Method in class java.net.PlainSocketImpl.SocketInputStream
- close() - Method in class java.net.PlainSocketImpl.SocketOutputStream
- close() - Method in class java.net.PlainSocketImpl
- close() - Method in class java.net.ServerSocket
- Closes this socket and stops listening for connections
- close() - Method in class java.net.Socket
- Closes the socket.
- close() - Method in class java.net.SocketImpl
- Closes the socket.
- close() - Method in class java.net.ZSocketImpl
- This method stops the connector before object deallocation.
- compareFragments(URI) - Method in class java.net.URI
- Compares the fragment of this URI with that of the supplied URI.
- compareTo(Object) - Method in class java.net.URI
- Compare the URI with another object that must also be a URI.
- compr_len - Variable in class java.net.Listener
- compress(byte[]) - Method in class java.net.Connector
- This method is responsible for data compression.
- compress_time - Variable in class java.net.Listener
- compressor - Variable in class java.net.Connector
- Reference to the real compression engine that must follow the Compressor interface.
- compressor - Variable in class java.net.DConnector
- Reference to the real compression engine that must follow the Compressor interface.
- computeLevel(int) - Method in interface java.net.Interpolator
- This method is used to ask the interpolator which is the best level to use to compress the passed data.
- computeLevel(int) - Method in class java.net.LinearInterpolator
- This method choose the best level to use to compress data based on an iterative algorithm I did in my thesis.
- condense(Collection) - Static method in class java.net.NetworkInterface
- conn - Variable in class java.net.ZDatagramSocketImpl
- The connector responsible for real packet compression/decompression/handling.
- conn - Variable in class java.net.ZOutputStream
- The connector responsible for real sending.
- conn - Variable in class java.net.ZSocketImpl
- The Connector is responsible for packet handling.
- connect(InetAddress, int) - Method in class java.net.DatagramSocket
- This method connects this socket to the specified address and port.
- connect(SocketAddress) - Method in class java.net.DatagramSocket
- Connects the datagram socket to a specified socket address.
- connect(InetAddress, int) - Method in class java.net.DatagramSocketImpl
- Connects the socket to a host specified by address and port.
- connect(InetAddress, int) - Method in class java.net.PlainDatagramSocketImpl
- connect(String, int) - Method in class java.net.PlainSocketImpl
- connect(InetAddress, int) - Method in class java.net.PlainSocketImpl
- connect(SocketAddress, int) - Method in class java.net.PlainSocketImpl
- connect(SocketAddress) - Method in class java.net.Socket
- Connects the socket with a remote address.
- connect(SocketAddress, int) - Method in class java.net.Socket
- Connects the socket with a remote address.
- connect(String, int) - Method in class java.net.SocketImpl
- Connects to the remote hostname and port specified as arguments.
- connect(InetAddress, int) - Method in class java.net.SocketImpl
- Connects to the remote address and port specified as arguments.
- connect(SocketAddress, int) - Method in class java.net.SocketImpl
- Connects to the socket to the host specified in address.
- connect() - Method in class java.net.URLConnection
- Establishes the actual connection to the URL associated with this connection object
- connected - Variable in class java.net.URLConnection
- Indicates whether or not a connection has been established to the destination specified in the URL
- container - Variable in class java.net.DConnector
- create() - Method in class java.net.Connector
- This internal method is the common part of constructors.
- create() - Method in class java.net.DatagramSocketImpl
- Creates a new datagram socket.
- create(Integer) - Method in interface java.net.Interpolator
- This method is the real constructor.
- create(Integer) - Method in class java.net.LinearInterpolator
- This method is the real constructor and it's responsible for data allocation and initialization.
- create() - Method in class java.net.PlainDatagramSocketImpl
- create(boolean) - Method in class java.net.PlainSocketImpl
- create(boolean) - Method in class java.net.SocketImpl
- Creates a new socket that is not bound to any local address/port and is not connected to any remote address/port.
- create(String) - Static method in class java.net.URI
- Create an URI from the given string
- create() - Method in class java.net.ZDatagramSocketImpl
- This method is responsible for socket creation.
- create(byte[], byte) - Method in class java.net.ZObject
- This method is responsible for generic object creation and it's an utility method used by constructors.
- createContentHandler(String) - Method in interface java.net.ContentHandlerFactory
- This method is passed a MIME type as a string and is responsible for
returning the appropriate
ContentHandlerobject. - createDatagramSocketImpl() - Method in interface java.net.DatagramSocketImplFactory
- This method returns an instance of the DatagramSocketImpl object
- createSocketImpl() - Method in interface java.net.SocketImplFactory
- This method returns an instance of the
SocketImplobject - createSocketImpl() - Method in class java.net.ZSocketImplFactory
- This method creates an instance of our compressed socket implementation.
- createURLStreamHandler(String) - Method in interface java.net.URLStreamHandlerFactory
- This method maps the protocol portion of a URL to a
URLStreamHandlerobject.
D
- D - class java.net.D.
- This is an utility class that provide an output method useful to print debug information.
- D() - Constructor for class java.net.D
- DConnector - class java.net.DConnector.
- This class manage the compression layer for the datagram scenario.
- DConnector(ZDatagramSocketImpl) - Constructor for class java.net.DConnector
- This is the only constructor.
- DEFAULT_SEARCH_PATH - Static variable in class java.net.URL
- DatagramPacket - class java.net.DatagramPacket.
- This class models a packet of data that is to be sent across the network using a connectionless protocol such as UDP.
- DatagramPacket(byte[], int, int) - Constructor for class java.net.DatagramPacket
- This method initializes a new instance of
DatagramPacketwhich has the specified buffer, offset, and length. - DatagramPacket(byte[], int) - Constructor for class java.net.DatagramPacket
- Initializes a new instance of
DatagramPacketfor receiving packets from the network. - DatagramPacket(byte[], int, int, InetAddress, int) - Constructor for class java.net.DatagramPacket
- Initializes a new instance of
DatagramPacketfor transmitting packets across the network. - DatagramPacket(byte[], int, InetAddress, int) - Constructor for class java.net.DatagramPacket
- Initializes a new instance of
DatagramPacketfor transmitting packets across the network. - DatagramPacket(byte[], int, int, SocketAddress) - Constructor for class java.net.DatagramPacket
- Initializes a new instance of
DatagramPacketfor transmitting packets across the network. - DatagramPacket(byte[], int, SocketAddress) - Constructor for class java.net.DatagramPacket
- Initializes a new instance of
DatagramPacketfor transmitting packets across the network. - DatagramSocket - class java.net.DatagramSocket.
- This class models a connectionless datagram socket that sends individual packets of data across the network.
- DatagramSocket(DatagramSocketImpl) - Constructor for class java.net.DatagramSocket
- Creates a
DatagramSocketfrom a specifiedDatagramSocketImplinstance - DatagramSocket() - Constructor for class java.net.DatagramSocket
- Initializes a new instance of
DatagramSocketthat binds to a random port and every address on the local machine. - DatagramSocket(int) - Constructor for class java.net.DatagramSocket
- Initializes a new instance of
DatagramSocketthat binds to the specified port and every address on the local machine. - DatagramSocket(int, InetAddress) - Constructor for class java.net.DatagramSocket
- Initializes a new instance of
DatagramSocketthat binds to the specified local port and address. - DatagramSocket(SocketAddress) - Constructor for class java.net.DatagramSocket
- Initializes a new instance of
DatagramSocketthat binds to the specified local port and address. - DatagramSocketImpl - class java.net.DatagramSocketImpl.
- This abstract class models a datagram socket implementation.
- DatagramSocketImpl() - Constructor for class java.net.DatagramSocketImpl
- Default, no-argument constructor for subclasses to call.
- DatagramSocketImplFactory - interface java.net.DatagramSocketImplFactory.
- This interface defines one method which returns a
DatagramSocketImplobject. - Decompressor - interface java.net.Decompressor.
- This interface models the common methods that every decompressor must provide in order to be used as a "plugin" into the decompression layer.
- DeflatingCompressor - class java.net.DeflatingCompressor.
- This class is the default compressor used in our compression layer.
- DeflatingCompressor() - Constructor for class java.net.DeflatingCompressor
- data - Variable in class java.net.ZObject
- The data payload this object carries.
- dateFormats - Static variable in class java.net.URLConnection
- dateformats_initialized - Static variable in class java.net.URLConnection
- decode(String) - Static method in class java.net.URLDecoder
- Deprecated.
- decode(String, String) - Static method in class java.net.URLDecoder
- This method translates the passed in string from x-www-form-urlencoded format using the given character encoding to decode the hex encoded unsafe characters.
- decompress(byte[]) - Method in class java.net.Connector
- This method is responsible for data decompression.
- decompress(DatagramPacket) - Method in class java.net.DConnector
- This method is responsible for data decompression.
- decompressor - Variable in class java.net.Connector
- Reference to the real decompression engine that must follow the Decompressor interface.
- decompressor - Variable in class java.net.DConnector
- Reference to the real decompression engine that must follow the Decompressor interface.
- defaultAllowUserInteraction - Static variable in class java.net.URLConnection
- This is the default value that will be used to determine whether or not user interaction should be allowed.
- defaultAuthenticator - Static variable in class java.net.Authenticator
- This is the default Authenticator object to use for password requests
- defaultUseCaches - Static variable in class java.net.URLConnection
- This is the default flag indicating whether or not to use caches to store the data returned from a server
- definePackage(String, Manifest, URL) - Method in class java.net.URLClassLoader
- Defines a Package based on the given name and the supplied manifest information.
- deflate(byte[]) - Method in interface java.net.Compressor
- deflate(byte[], int, int) - Method in interface java.net.Compressor
- deflater - Variable in class java.net.DConnector
- deserialize(byte[]) - Static method in class java.net.ZObject
- This method decodes an array of four bytes into a long value.
- destroy() - Method in interface java.net.Interpolator
- Destructor and clean up.
- destroy() - Method in class java.net.LinearInterpolator
- Entry point for some explicit and synchronous clean up.
- dir - Variable in class java.net.URLClassLoader.FileURLLoader
- disconnect() - Method in class java.net.DatagramSocket
- This method disconnects this socket from the address/port it was connected to.
- disconnect() - Method in class java.net.DatagramSocketImpl
- Disconnects the socket.
- disconnect() - Method in class java.net.HttpURLConnection
- Closes the connection to the server.
- disconnect() - Method in class java.net.PlainDatagramSocketImpl
- doInput - Variable in class java.net.URLConnection
- Indicates whether or not input can be read from this URL
- doOutput - Variable in class java.net.URLConnection
- Indicates whether or not output can be sent to this URL
- done() - Method in class java.net.Listener
- This method represents the second half of the measurement and it does the real update, based on the measured transmission time, after the ack has arrived.
- dump() - Method in class java.net.ZInputStream
- Internal use only.
- dump(byte[], int) - Method in class java.net.ZObject
E
- encode(String) - Static method in class java.net.URLEncoder
- Deprecated.
- encode(String, String) - Static method in class java.net.URLEncoder
- This method translates the passed in string into x-www-form-urlencoded format using the character encoding to hex-encode the unsafe characters.
- end() - Method in interface java.net.Compressor
- end() - Method in interface java.net.Decompressor
- entry - Variable in class java.net.URLClassLoader.JarURLResource
- entryName - Variable in class java.net.JarURLConnection
- This is the jar file "entry name" or portion after the "!/" in the URL which represents the pathname inside the actual jar file.
- equals(Object) - Method in class java.net.Inet4Address
- Compare the current Inet4Address instance with obj
- equals(Object) - Method in class java.net.Inet6Address
- Compares this object against the specified object
- equals(Object) - Method in class java.net.InetAddress
- Tests this address for equality against another InetAddress.
- equals(Object) - Method in class java.net.InetSocketAddress
- Test if obj is a
InetSocketAddressand has the same address and port - equals(Object) - Method in class java.net.NetworkInterface
- Checks if the current instance is equal to obj
- equals(Object) - Method in class java.net.SocketPermission
- Tests this object for equality against another.
- equals(Object) - Method in class java.net.URI
- Compares the URI with the given object for equality.
- equals(Object) - Method in class java.net.URL
- Test another URL for equality with this one.
- equals(URL, URL) - Method in class java.net.URLStreamHandler
- Provides the default equals calculation.
- escapeCharacters(String) - Static method in class java.net.URI
- Converts the non-ASCII characters in the supplied string to their equivalent percent-encoded representations.
F
- FRAGMENT_GROUP - Static variable in class java.net.URI
- Index of fragment component in parsed URI.
- FileNameMap - interface java.net.FileNameMap.
- This interface has one method which, when passed a filename, returns the MIME type associated with that filename.
- factory - Static variable in class java.net.DatagramSocket
- This is the user DatagramSocketImplFactory for this class.
- factory - Static variable in class java.net.ServerSocket
- This is the user defined SocketImplFactory, if one is supplied
- factory - Static variable in class java.net.Socket
- This is the user SocketImplFactory for this class.
- factory - Static variable in class java.net.URL
- If an application installs its own protocol handler factory, this is where we keep track of it.
- factory - Variable in class java.net.URLClassLoader
- Factory used to get the protocol handlers of the URLs
- factory - Static variable in class java.net.URLConnection
- This is the ContentHandlerFactory set by the caller, if any
- factoryCache - Static variable in class java.net.URLClassLoader
- A cache to store mappings between handler factory and its private protocol handler cache (also a HashMap), so we can avoid create handlers each time the same protocol comes.
- family - Variable in class java.net.InetAddress
- The field 'family' seems to be the AF_ value.
- fd - Variable in class java.net.DatagramSocketImpl
- The FileDescriptor object for this object.
- fd - Variable in class java.net.SocketImpl
- A FileDescriptor object representing this socket connection.
- file - Variable in class java.net.URL
- The "file" portion of the URL.
- file - Variable in class java.net.URLClassLoader.FileResource
- fileNameMap - Static variable in class java.net.URLConnection
- This is an object that maps filenames to MIME types.
- finalize() - Method in class java.net.LinearInterpolator
- finalize() - Method in class java.net.PlainDatagramSocketImpl
- finalize() - Method in class java.net.PlainSocketImpl
- findClass(String) - Method in class java.net.URLClassLoader
- Finds (the first) class by name from one of the locations.
- findResource(String) - Method in class java.net.URLClassLoader
- Finds the first occurrence of a resource that can be found.
- findResources(String) - Method in class java.net.URLClassLoader
- Finds all the resources with a particular name from all the locations.
- findURLResource(String) - Method in class java.net.URLClassLoader
- Finds the first occurrence of a resource that can be found.
- finish() - Method in interface java.net.Compressor
- finished() - Method in interface java.net.Compressor
- finished() - Method in interface java.net.Decompressor
- flush() - Method in class java.net.ZOutputStream
- This method really sends the stored data (if any) from the underlying ByteArrayOutputStream through the connector to the socket.
- fnum - Variable in class java.net.PlainDatagramSocketImpl
- fnum - Variable in class java.net.PlainSocketImpl
- The OS file handle representing the socket.
- followRedirects - Static variable in class java.net.HttpURLConnection
- Flag to indicate whether or not redirects should be automatically followed by default.
- fragment - Variable in class java.net.URI
G
- gc() - Method in class java.net.ZInputStream
- This little garbage collector, if invoked, moves the internal buffer towards the start, if some read but unfreed data exists, even if the read and unread region overlaps.
- getActions() - Method in class java.net.SocketPermission
- Returns the list of permission actions in this object in canonical order.
- getAddress() - Method in class java.net.DatagramPacket
- Returns the address that this packet is being sent to or, if it was used to receive a packet, the address that is was received from.
- getAddress() - Method in class java.net.Inet4Address
- Returns the address of the current instance
- getAddress() - Method in class java.net.Inet6Address
- Returns the raw IP address of this InetAddress object.
- getAddress() - Method in class java.net.InetAddress
- Returns the IP address of this object as a byte array.
- getAddress() - Method in class java.net.InetSocketAddress
- Returns the
InetAddressornullif its unresolved - getAdler() - Method in interface java.net.Compressor
- getAdler() - Method in interface java.net.Decompressor
- getAllByName(String) - Static method in class java.net.InetAddress
- Returns an array of InetAddress objects representing all the host/ip addresses of a given host, given the host's name.
- getAllowUserInteraction() - Method in class java.net.URLConnection
- Returns a boolean flag indicating whether or not user interaction is allowed for this connection.
- getAttributeValue(Attributes.Name, Attributes, Attributes) - Method in class java.net.URLClassLoader
- Look in both Attributes for a given value.
- getAttributes() - Method in class java.net.JarURLConnection
- Returns the Attributes for the Jar entry specified by the URL or null if none
- getAuthority() - Method in class java.net.URI
- Returns the decoded authority part of this URI
- getAuthority() - Method in class java.net.URL
- Returns the authority of the URL
- getBroadcast() - Method in class java.net.DatagramSocket
- Checks if SO_BROADCAST is enabled
- getByAddress(byte[]) - Static method in class java.net.InetAddress
- Returns an InetAddress object given the raw IP address.
- getByAddress(String, byte[]) - Static method in class java.net.InetAddress
- Creates an InetAddress based on the provided host name and IP address.
- getByInetAddress(InetAddress) - Static method in class java.net.NetworkInterface
- Return a network interface by its address
- getByName(String) - Static method in class java.net.InetAddress
- Returns an InetAddress object representing the IP address of the given hostname.
- getByName(String) - Static method in class java.net.NetworkInterface
- Returns an network interface by name
- getCanonicalHostName() - Method in class java.net.InetAddress
- Returns the canonical hostname represented by this InetAddress
- getCertificates() - Method in class java.net.JarURLConnection
- Returns an array of Certificate objects for the jar file entry specified by this URL or null if there are none
- getCertificates() - Method in class java.net.URLClassLoader.JarURLResource
- getCertificates() - Method in class java.net.URLClassLoader.Resource
- Returns
Certificatesassociated with this resource, or null when there are none. - getChannel() - Method in class java.net.DatagramSocket
- Returns the datagram channel assoziated with this datagram socket.
- getChannel() - Method in class java.net.ServerSocket
- Returns the unique
ServerSocketChannelobject associated with this socket, if any. - getChannel() - Method in class java.net.Socket
- Returns the socket channel associated with this socket.
- getClassPath() - Method in class java.net.URLClassLoader.JarURLLoader
- getClassPath() - Method in class java.net.URLClassLoader.URLLoader
- getCodeSource() - Method in class java.net.URLClassLoader.Resource
- Returns the non-null
CodeSourceassociated with this resource. - getContent(URLConnection) - Method in class java.net.ContentHandler
- This method reads from the
InputStreamof the passed in URL connection and uses the data downloaded to create anObjectrepresening the content. - getContent(URLConnection, Class[]) - Method in class java.net.ContentHandler
- This method reads from the
InputStreamof the passed in URL connection and uses the data downloaded to create anObjectrepresening the content. - getContent() - Method in class java.net.URL
- Returns the contents of this URL as an object by first opening a connection, then calling the getContent() method against the connection
- getContent(Class[]) - Method in class java.net.URL
- Gets the contents of this URL
- getContent() - Method in class java.net.URLConnection
- This method returns the content of the document pointed to by the URL as an Object.
- getContent(Class[]) - Method in class java.net.URLConnection
- Retrieves the content of this URLConnection
- getContentEncoding() - Method in class java.net.URLConnection
- Returns the value of the content-encoding field or null if it is not known or not present.
- getContentHandler(String) - Method in class java.net.URLConnection
- getContentLength() - Method in class java.net.URLConnection
- Returns the value of the content-length header field or -1 if the value is not known or not present.
- getContentType() - Method in class java.net.URLConnection
- Returns the the content-type of the data pointed to by the URL.
- getContentTypeFor(String) - Method in interface java.net.FileNameMap
- This method is passed a filename and is responsible for determining the appropriate MIME type for that file.
- getContentTypeFor(String) - Method in class java.net.MimeTypeMapper
- The method returns the MIME type of the filename passed as an argument.
- getData() - Method in class java.net.DatagramPacket
- Returns the data buffer for this packet
- getData() - Method in class java.net.ZObject
- This method returns the carried data payload.
- getDate() - Method in class java.net.URLConnection
- Returns the date of the document pointed to by the URL as reported in the date field of the header or 0 if the value is not present or not known.
- getDefaultAllowUserInteraction() - Static method in class java.net.URLConnection
- Returns the default flag for whether or not interaction with a user is allowed.
- getDefaultPort() - Method in class java.net.URL
- Returns the default port of the URL.
- getDefaultPort() - Method in class java.net.URLStreamHandler
- Returns the default port for a URL parsed by this handler.
- getDefaultRequestProperty(String) - Static method in class java.net.URLConnection
- Deprecated. 1.3 The method getRequestProperty should be used instead. This method does nothing now.
- getDefaultUseCaches() - Method in class java.net.URLConnection
- Returns the default value used to determine whether or not caching of documents will be done when possible.
- getDisplayName() - Method in class java.net.NetworkInterface
- Returns the display name of the interface
- getDoInput() - Method in class java.net.URLConnection
- Returns the value of a flag indicating whether or not input is going to be done for this connection.
- getDoOutput() - Method in class java.net.URLConnection
- Returns a boolean flag indicating whether or not output will be done on this connection.
- getEntryName() - Method in class java.net.JarURLConnection
- Returns the "entry name" portion of the jar URL.
- getErrorStream() - Method in class java.net.HttpURLConnection
- This method allows the caller to retrieve any data that might have been sent despite the fact that an error occurred.
- getExpiration() - Method in class java.net.URLConnection
- Returns the value of the expires header or 0 if not known or present.
- getFile() - Method in class java.net.URL
- Returns the file portion of the URL.
- getFileDescriptor() - Method in class java.net.DatagramSocketImpl
- Returns the FileDescriptor for this socket
- getFileDescriptor() - Method in class java.net.SocketImpl
- Returns the FileDescriptor objects for this socket.
- getFileNameMap() - Static method in class java.net.URLConnection
- This method returns the
FileNameMapobject being used to decode MIME types by file extension. - getFollowRedirects() - Static method in class java.net.HttpURLConnection
- Returns a boolean indicating whether or not HTTP redirects will automatically be followed or not.
- getFragment() - Method in class java.net.URI
- Returns the fragment of the URI
- getHeaderField(int) - Method in class java.net.URLConnection
- Return a String representing the header value at the specified index.
- getHeaderField(String) - Method in class java.net.URLConnection
- Returns a String representing the value of the header field having the named key.
- getHeaderFieldDate(String, long) - Method in class java.net.HttpURLConnection
- Returns the value of the named field parsed as date
- getHeaderFieldDate(String, long) - Method in class java.net.URLConnection
- Returns the value of the named header field as a date.
- getHeaderFieldInt(String, int) - Method in class java.net.URLConnection
- Returns the value of the named header field as an int.
- getHeaderFieldKey(int) - Method in class java.net.URLConnection
- Returns a String representing the header key at the specified index.
- getHeaderFields() - Method in class java.net.URLConnection
- Returns a map of all sent header fields
- getHost() - Method in class java.net.URI
- Returns the hostname of the URI
- getHost() - Method in class java.net.URL
- Returns the host of the URL
- getHostAddress() - Method in class java.net.Inet4Address
- Returns the address as string
- getHostAddress() - Method in class java.net.Inet6Address
- Returns the IP address string in textual presentation
- getHostAddress() - Method in class java.net.InetAddress
- Returns the IP address of this object as a String.
- getHostAddress(URL) - Method in class java.net.URLStreamHandler
- Get the IP address of our host.
- getHostByAddr(byte[]) - Static method in class java.net.VMInetAddress
- This method returns the hostname for a given IP address.
- getHostByName(String) - Static method in class java.net.VMInetAddress
- Returns a list of all IP addresses for a given hostname.
- getHostName() - Method in class java.net.InetAddress
- Returns the hostname for this address.
- getHostName() - Method in class java.net.InetSocketAddress
- Returns
hostname - getIfModifiedSince() - Method in class java.net.URLConnection
- Returns the ifModified since instance variable.
- getImpl() - Method in class java.net.DatagramSocket
- getImpl() - Method in class java.net.ServerSocket
- getImpl() - Method in class java.net.Socket
- getInaddrAny() - Static method in class java.net.InetAddress
- Returns the special address INADDR_ANY used for binding to a local port on all IP addresses hosted by a the local host.
- getIndex() - Method in class java.net.URISyntaxException
- Returns the index of the failure, or -1.
- getInetAddress() - Method in class java.net.DatagramSocket
- This method returns the remote address to which this socket is connected.
- getInetAddress() - Method in class java.net.ServerSocket
- This method returns the local address to which this socket is bound
- getInetAddress() - Method in class java.net.Socket
- Returns the address of the remote end of the socket.
- getInetAddress() - Method in class java.net.SocketImpl
- Returns the remote address this socket is connected to
- getInetAddresses() - Method in class java.net.NetworkInterface
- Returns all available addresses of the network interface If a @see SecurityManager is available all addresses are checked with @see SecurityManager::checkConnect() if they are available.
- getInput() - Method in class java.net.URISyntaxException
- Returns the bad input string.
- getInputStream() - Method in class java.net.Connector
- getInputStream() - Method in class java.net.PlainSocketImpl
- getInputStream() - Method in class java.net.Socket
- Returns an InputStream for reading from this socket.
- getInputStream() - Method in class java.net.SocketImpl
- Returns an
InputStreamobject for reading from this socket. - getInputStream() - Method in class java.net.URLClassLoader.FileResource
- getInputStream() - Method in class java.net.URLClassLoader.JarURLResource
- getInputStream() - Method in class java.net.URLClassLoader.RemoteResource
- getInputStream() - Method in class java.net.URLClassLoader.Resource
- Returns the non-null
InputStreamthrough which this resource can be loaded. - getInputStream() - Method in class java.net.URLConnection
- Returns an InputStream for this connection.
- getInputStream() - Method in class java.net.ZSocketImpl
- When this method is first invoked, a connector is created with a SocketInputStream and a SocketOutputStream bound to it.
- getInstanceFollowRedirects() - Method in class java.net.HttpURLConnection
- Returns the value of this HttpURLConnection's instanceFollowRedirects field
- getInterface() - Method in class java.net.MulticastSocket
- Returns the interface being used for multicast packets
- getInterfaces() - Static method in class java.net.VMNetworkInterface
- Returns a Vector of InetAddresses.
- getJarEntry() - Method in class java.net.JarURLConnection
- Returns the entry in this jar file specified by the URL.
- getJarFile() - Method in class java.net.JarURLConnection
- Returns a read-only JarFile object for the remote jar file
- getJarFileURL() - Method in class java.net.JarURLConnection
- This method returns the "real" URL where the JarFile is located.
- getKeepAlive() - Method in class java.net.Socket
- This method returns the value of the socket level socket option SO_KEEPALIVE.
- getLastModified() - Method in class java.net.URLConnection
- Returns the value of the last-modified header field or 0 if not known known or not present.
- getLength() - Method in class java.net.DatagramPacket
- Returns the length of the data in the buffer
- getLength() - Method in class java.net.URLClassLoader.FileResource
- getLength() - Method in class java.net.URLClassLoader.JarURLResource
- getLength() - Method in class java.net.URLClassLoader.RemoteResource
- getLength() - Method in class java.net.URLClassLoader.Resource
- Returns the size of this
Resourcein bytes or-1when unknown. - getLevel() - Method in interface java.net.Compressor
- This method isn't present in the original java.net.Deflater but it's really useful.
- getLevel() - Method in class java.net.DeflatingCompressor
- This method returns the actual working level.
- getLevels() - Method in interface java.net.Compressor
- This method returns information about the compression engine capabilities, as the number of supported compression levels.
- getLevels() - Method in class java.net.DeflatingCompressor
- This method returns the number of supported compression levels.
- getLocalAddress() - Method in class java.net.DatagramSocket
- Returns the local address this datagram socket is bound to.
- getLocalAddress() - Method in class java.net.Socket
- Returns the local address to which this socket is bound.
- getLocalHost() - Static method in class java.net.InetAddress
- Returns an InetAddress object representing the address of the current host.
- getLocalHostname() - Static method in class java.net.VMInetAddress
- This method looks up the hostname of the local machine we are on.
- getLocalPort() - Method in class java.net.DatagramSocket
- Returns the local port this socket is bound to.
- getLocalPort() - Method in class java.net.DatagramSocketImpl
- Returns the local port this socket is bound to
- getLocalPort() - Method in class java.net.ServerSocket
- This method returns the local port number to which this socket is bound
- getLocalPort() - Method in class java.net.Socket
- Returns the local port number to which this socket is bound.
- getLocalPort() - Method in class java.net.SocketImpl
- Returns the local port this socket is bound to
- getLocalSocketAddress() - Method in class java.net.DatagramSocket
- Returns the local SocketAddress this socket is bound to.
- getLocalSocketAddress() - Method in class java.net.ServerSocket
- Returns the local socket address
- getLocalSocketAddress() - Method in class java.net.Socket
- Returns local socket address.
- getLoopbackMode() - Method in class java.net.MulticastSocket
- Checks if local loopback mode is enabled
- getMainAttributes() - Method in class java.net.JarURLConnection
- Returns the main Attributes for the jar file specified in the URL or null if there are none
- getManifest() - Method in class java.net.JarURLConnection
- Returns a Manifest object for this jar file, or null if there is no manifest.
- getManifest() - Method in class java.net.URLClassLoader.JarURLLoader
- getManifest() - Method in class java.net.URLClassLoader.URLLoader
- Returns the
Manifestassociated with theResources loaded by thisURLLoaderornullthere is no suchManifest. - getMessage() - Method in class java.net.URISyntaxException
- Returns a message describing the parse error, as if by
getReason() + (getIndex() >= 0 ? " at index " + getIndex() : "") + ": " + getInput(). - getName() - Method in class java.net.NetworkInterface
- Returns the name of the network interface
- getNetworkInterface() - Method in class java.net.MulticastSocket
- Gets the local network interface which is used to send multicast messages
- getNetworkInterfaces() - Static method in class java.net.NetworkInterface
- Return an
Enumerationof all available network interfaces - getOOBInline() - Method in class java.net.Socket
- Returns the current setting of the SO_OOBINLINE option for this socket
- getOffset() - Method in class java.net.DatagramPacket
- This method returns the current offset value into the data buffer where data will be sent from.
- getOption(int) - Method in class java.net.PlainDatagramSocketImpl
- getOption(int) - Method in class java.net.PlainSocketImpl
- getOption(int) - Method in interface java.net.SocketOptions
- Returns the current setting of the specified option.
- getOutputStream() - Method in class java.net.Connector
- getOutputStream() - Method in class java.net.PlainSocketImpl
- getOutputStream() - Method in class java.net.Socket
- Returns an OutputStream for writing to this socket.
- getOutputStream() - Method in class java.net.SocketImpl
- Returns an
OutputStreamobject for writing to this socket - getOutputStream() - Method in class java.net.URLConnection
- Returns an OutputStream for this connection.
- getOutputStream() - Method in class java.net.ZSocketImpl
- When this method is first invoked, a connector is created with a SocketInputStream and a SocketOutputStream bound to it.
- getPacket(DatagramPacket) - Method in class java.net.DConnector
- This method remove a packet from the queue and copy data into the passed datagram.
- getPassword() - Method in class java.net.PasswordAuthentication
- Returns the password associated with this object
- getPasswordAuthentication() - Method in class java.net.Authenticator
- This method is called whenever a request for authentication is made.
- getPath() - Method in class java.net.URI
- Returns the path of the URI
- getPath() - Method in class java.net.URL
- Returns the path of the URL.
- getPermission() - Method in class java.net.HttpURLConnection
- Returns a permission object representing the permission necessary to make the connection represented by this object
- getPermission() - Method in class java.net.URLConnection
- This method returns a
Permissionobject representing the permissions required to access this URL. - getPermissions(CodeSource) - Method in class java.net.URLClassLoader
- Returns the permissions needed to access a particular code source.
- getPort() - Method in class java.net.DatagramPacket
- Returns the port number this packet is being sent to or, if it was used to receive a packet, the port that it was received from.
- getPort() - Method in class java.net.DatagramSocket
- This method returns the remote port to which this socket is connected.
- getPort() - Method in class java.net.InetSocketAddress
- Returns the
port - getPort() - Method in class java.net.Socket
- Returns the port number of the remote end of the socket connection.
- getPort() - Method in class java.net.SocketImpl
- Returns the remote port this socket is connected to
- getPort() - Method in class java.net.URI
- Returns the port number of the URI
- getPort() - Method in class java.net.URL
- Returns the port number of this URL or -1 if the default port number is being used.
- getProtocol() - Method in class java.net.URL
- Returns the protocol of the URL
- getQuery() - Method in class java.net.URI
- Returns the query of the URI
- getQuery() - Method in class java.net.URL
- Returns the query of the URL.
- getRawAuthority() - Method in class java.net.URI
- Returns the raw authority part of this URI
- getRawFragment() - Method in class java.net.URI
- Return the raw fragment part of this URI
- getRawPath() - Method in class java.net.URI
- Returns the raw path part of this URI
- getRawQuery() - Method in class java.net.URI
- Returns the raw query part of this URI
- getRawSchemeSpecificPart() - Method in class java.net.URI
- Returns the raw scheme specific part of this URI.
- getRawUserInfo() - Method in class java.net.URI
- Returns the raw user info part of this URI
- getReason() - Method in class java.net.URISyntaxException
- Returns the reason for the failure.
- getReceiveBufferSize() - Method in class java.net.DatagramSocket
- This method returns the value of the system level socket option SO_RCVBUF, which is used by the operating system to tune buffer sizes for data transfers.
- getReceiveBufferSize() - Method in class java.net.ServerSocket
- This method returns the value of the system level socket option SO_RCVBUF, which is used by the operating system to tune buffer sizes for data transfers.
- getReceiveBufferSize() - Method in class java.net.Socket
- This method returns the value of the system level socket option SO_RCVBUF, which is used by the operating system to tune buffer sizes for data transfers.
- getRef() - Method in class java.net.URL
- Returns the ref (sometimes called the "# reference" or "anchor") portion of the URL.
- getRemaining() - Method in interface java.net.Decompressor
- getRemoteSocketAddress() - Method in class java.net.DatagramSocket
- Returns the SocketAddress of the host this socket is conneted to or null if this socket is not connected.
- getRemoteSocketAddress() - Method in class java.net.Socket
- Returns the remote socket address.
- getRequestMethod() - Method in class java.net.HttpURLConnection
- The request method currently in use for this connection.
- getRequestProperties() - Method in class java.net.URLConnection
- Returns an unmodifiable Map containing the request properties.
- getRequestProperty(String) - Method in class java.net.URLConnection
- Returns the value of the named request property.
- getRequestingHost() - Method in class java.net.Authenticator
- Returns the hostname of the host or proxy requesting authorization,
or
nullif not available. - getRequestingPort() - Method in class java.net.Authenticator
- This method returns the port of the site that is requesting authentication.
- getRequestingPrompt() - Method in class java.net.Authenticator
- Returns the prompt that should be used when requesting authentication information from the user
- getRequestingProtocol() - Method in class java.net.Authenticator
- This method returns the requesting protocol of the operation that is requesting authentication
- getRequestingScheme() - Method in class java.net.Authenticator
- This method returns the authentication scheme in use
- getRequestingSite() - Method in class java.net.Authenticator
- This method returns the address of the site that is requesting authentication.
- getResource(String) - Method in class java.net.URLClassLoader.FileURLLoader
- get resource with the name "name" in the file url
- getResource(String) - Method in class java.net.URLClassLoader.JarURLLoader
- get resource with the name "name" in the jar url
- getResource(String) - Method in class java.net.URLClassLoader.RemoteURLLoader
- Get a remote resource.
- getResource(String) - Method in class java.net.URLClassLoader.URLLoader
- Returns a
Resourceloaded by thisURLLoader, ornullwhen noResourcewith the given name exists. - getResponseCode() - Method in class java.net.HttpURLConnection
- Gets the status code from an HTTP response message, or -1 if the response code could not be determined.
- getResponseMessage() - Method in class java.net.HttpURLConnection
- Gets the HTTP response message, if any, returned along with the response code from a server.
- getResponseVals() - Method in class java.net.HttpURLConnection
- getReuseAddress() - Method in class java.net.DatagramSocket
- Checks if SO_REUSEADDR is enabled.
- getReuseAddress() - Method in class java.net.ServerSocket
- Checks if the SO_REUSEADDR option is enabled
- getReuseAddress() - Method in class java.net.Socket
- Checks if the SO_REUSEADDR option is enabled
- getScheme() - Method in class java.net.URI
- Returns the scheme of the URI
- getSchemeSpecificPart() - Method in class java.net.URI
- Returns the decoded scheme specific part of this URI.
- getSendBufferSize() - Method in class java.net.DatagramSocket
- This method returns the value of the system level socket option SO_SNDBUF, which is used by the operating system to tune buffer sizes for data transfers.
- getSendBufferSize() - Method in class java.net.Socket
- This method returns the value of the system level socket option SO_SNDBUF, which is used by the operating system to tune buffer sizes for data transfers.
- getSeqNum() - Method in class java.net.AckException
- This method can be used to retrieve the carried sequence number
- getSeqNum() - Method in class java.net.ZObject
- This method returns the carried sequence number.
- getSoLinger() - Method in class java.net.Socket
- Returns the value of the SO_LINGER option on the socket.
- getSoTimeout() - Method in class java.net.DatagramSocket
- Returns the value of the socket's SO_TIMEOUT setting.
- getSoTimeout() - Method in class java.net.ServerSocket
- Retrieves the current value of the SO_TIMEOUT setting.
- getSoTimeout() - Method in class java.net.Socket
- Returns the value of the SO_TIMEOUT option on the socket.
- getSocketAddress() - Method in class java.net.DatagramPacket
- Gets the socket address of the host this packet will be sent to/is coming from
- getTTL() - Method in class java.net.DatagramSocketImpl
- Deprecated. // FIXME: when ?
- getTTL() - Method in class java.net.MulticastSocket
- Deprecated. 1.2 Replaced by getTimeToLive()
- getTTL() - Method in class java.net.PlainDatagramSocketImpl
- getTcpNoDelay() - Method in class java.net.Socket
- Tests whether or not the TCP_NODELAY option is set on the socket.
- getTimeToLive() - Method in class java.net.DatagramSocketImpl
- This method returns the current Time to Live (TTL) setting on this socket.
- getTimeToLive() - Method in class java.net.MulticastSocket
- Returns the current value of the "Time to Live" option.
- getTimeToLive() - Method in class java.net.PlainDatagramSocketImpl
- getTotalIn() - Method in interface java.net.Compressor
- getTotalIn() - Method in interface java.net.Decomp