| Home >> All >> gnu >> java >> net >> protocol |
Package Samples:
gnu.java.net.protocol.http.event: This package contains an HTTP/1.1 client, as described in RFC 2616.
gnu.java.net.protocol.jar
gnu.java.net.protocol.file
gnu.java.net.protocol.ftp
gnu.java.net.protocol.http
gnu.java.net.protocol.https
Classes:
FTPConnection: An FTP client connection, or PI. This implements RFC 959, with the following exceptions: STAT, HELP, SITE, SMNT, and ACCT commands are not supported. the TYPE command does not allow alternatives to the default bytesize (Non-print), and local bytesize is not supported.
Headers: A collection of HTTP header names and associated values. The values are ArrayLists of Strings. Retrieval of values is case insensitive. An iteration over the collection returns the header names in the order they were received.
Handler: This is the protocol handler for the "file" protocol. It implements the abstract openConnection() method from URLStreamHandler by returning a new FileURLConnection object (from this package). All other methods are inherited
HTTPDateFormat: HTTP date formatter and parser. Formats dates according to RFC 822 (updated by RFC 1123). Parses dates according to the above, or RFC 1036, or the ANSI C asctime() format.
ActiveModeDTP: An active mode FTP data transfer process. This starts a server on the specified port listening for a data connection. It converts the socket input into a file stream for reading.
CookieManager: Cookie manager interface. If an application wants to handle cookies, they should implement this interface and register the instance with each HTTPConnection they use.
Credentials: Represents a username/password combination that can be used to authenticate to an HTTP server.
LimitedLengthInputStream: InputStream that limits the total number of bytes that can be read from an underlying stream.
Connection: This subclass of java.net.JarURLConnection models a URLConnection via the "jar" protocol.
Connection: This subclass of java.net.URLConnection models a URLConnection via the "file" protocol.
ResponseHeaderHandler: Callback interface for objects that wish to be notified of response header values.
ResponseBodyReader: Callback interface for receiving notification of response body content.
CompressedOutputStream: A DTP output stream that implements the FTP compressed transfer mode.
StreamInputStream: A DTP input stream that implements the FTP stream data transfer mode.
CompressedInputStream: A DTP input stream that implements the FTP compressed transfer mode.
StreamOutputStream: A DTP output stream that implements the FTP stream transfer mode.
BlockOutputStream: A DTP output stream that implements the FTP block transfer mode.
ByteArrayResponseBodyReader: Simple response body reader that stores content in a byte array.
BlockInputStream: A DTP input stream that implements the FTP block transfer mode.
ChunkedInputStream: Input stream wrapper for the "chunked" transfer-coding.
DTPOutputStream: An output stream that notifies a DTP on end of stream.
RequestBodyWriter: Callback interface for writing request body content.
| Home | Contact Us | Privacy Policy | Terms of Service |