Package org.omegazero.http.util
package org.omegazero.http.util
Provides utility classes and an abstraction layer for HTTP communication of any HTTP version.
-
ClassDescriptionA
HTTPClientStreamwith several basic methods implemented.AHTTPMessageStreamwith several basic methods implemented.AHTTPServerStreamwith several basic methods implemented.AHTTPClientis associated with a single connection to a server where requests can be sent to usingHTTPClient.newRequest(HTTPRequest).AHTTPClientStreamrepresents a single HTTP request transaction from the perspective of the client, including the outgoingHTTPRequestand its data, and is used for receiving the corresponding response.AHTTPMessageStreamrepresents a single HTTP request transaction.AHTTPServeris associated with a single client connection from which it receives data, which is then processed to createHTTPServerStreams usable by the application.AHTTPServerStreamrepresents a single HTTP request transaction from the perspective of the server, including the incomingHTTPRequestand its associated incoming data, and is used to send a corresponding response.Contains standard or widely used HTTP status code numbers.Contains several methods for validating HTTP message components.Provides an abstraction layer for outgoing data over a socket.