Module vibe.http.common
Common classes for HTTP clients and servers.
Functions
Name | Description |
---|---|
enforceHTTP | Utility function that throws a HTTPStatusException if the condition is not met. |
getHTTPVersionString | |
httpMethodFromString | Returns the HttpMethod value matching the given HTTP method string. |
httpMethodString | Returns the string representation of the given HttpMethod . |
parseHTTPVersion |
Classes
Name | Description |
---|---|
ChunkedInputStream | Takes an input stream that contains data in HTTP chunked format and outputs the raw data. |
ChunkedOutputStream | Outputs data to an output stream in HTTP chunked format. |
Cookie | |
HTTPRequest | Represents an HTTP request made to a server. |
HTTPResponse | Represents the HTTP response from the server back to the client. |
HTTPStatusException | Respresents a HTTP response status . |
MultiPart |
Structs
Name | Description |
---|---|
CookieValueMap |
Enums
Name | Description |
---|---|
HTTPMethod | |
HTTPVersion |
Aliases
Name | Type | Description |
---|---|---|
enforceHttp | Compatibility alias, will be deprecated soon. | |
getHttpVersionString | Compatibility alias, will be deprecated soon. | |
HttpMethod | HTTPMethod | Compatibility alias, will be deprecated soon. |
HttpRequest | HTTPRequest | Compatibility alias, will be deprecated soon. |
HttpResponse | HTTPResponse | Compatibility alias, will be deprecated soon. |
HttpStatusException | HTTPStatusException | Compatibility alias, will be deprecated soon. |
HttpVersion | HTTPVersion | Compatibility alias, will be deprecated soon. |
parseHttpVersion | Compatibility alias, will be deprecated soon. | |
StrMapCI | InetHeaderMap | Compatibility alias for vibe.inet.message.InetHeaderMap |
Authors
Sönke Ludwig, Jan Krüger
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.