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
|
Deprecated compatibility alias | |
getHttpVersionString
|
Deprecated compatibility alias | |
HttpMethod
|
HTTPMethod
|
Deprecated compatibility alias |
HttpRequest
|
HTTPRequest
|
Deprecated compatibility alias |
HttpResponse
|
HTTPResponse
|
Deprecated compatibility alias |
HttpStatusException
|
HTTPStatusException
|
Deprecated compatibility alias |
HttpVersion
|
HTTPVersion
|
Deprecated compatibility alias |
parseHttpVersion
|
Deprecated compatibility alias |
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.