A B C D E F G H M O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(String, String) - Method in class com.meeshkan.http.types.HttpHeaders.Builder
-
Add the given, single header value under the given name.
- addAll(String, Collection<String>) - Method in class com.meeshkan.http.types.HttpHeaders.Builder
-
Add a collection of header values under the given name.
- addQueryParameter(String, String) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Add a single query parameter.
- asMap() - Method in class com.meeshkan.http.types.HttpHeaders
-
Header values as a map from header names to a list of header values.
- asUrl() - Method in class com.meeshkan.http.types.HttpUrl
-
This HTTP URL as a
URL
instance.
B
- body(String) - Method in class com.meeshkan.http.types.HttpRequest.Builder
-
Set the body string part of the HTTP request to build.
- body(String) - Method in class com.meeshkan.http.types.HttpResponse.Builder
- build() - Method in class com.meeshkan.http.types.HttpExchange.Builder
-
Create a HTTP exchange using the request and response set on this builder.
- build() - Method in class com.meeshkan.http.types.HttpHeaders.Builder
-
Create a HTTP headers instance using the headers set on this builder.
- build() - Method in class com.meeshkan.http.types.HttpRequest.Builder
-
Create a HTTP request using the properties set on this builder
- build() - Method in class com.meeshkan.http.types.HttpResponse.Builder
-
Create a HTTP response using the properties set on this builder
- build() - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Create a HTTP URL using the properties set on this builder.
- Builder() - Constructor for class com.meeshkan.http.types.HttpExchange.Builder
- Builder() - Constructor for class com.meeshkan.http.types.HttpHeaders.Builder
- Builder() - Constructor for class com.meeshkan.http.types.HttpRequest.Builder
- Builder() - Constructor for class com.meeshkan.http.types.HttpResponse.Builder
- Builder() - Constructor for class com.meeshkan.http.types.HttpUrl.Builder
C
- close() - Method in class com.meeshkan.http.types.HttpExchangeWriter
- com.meeshkan.http.types - package com.meeshkan.http.types
-
Classes to work with HTTP exchanges in the HTTP Types format.
- CONNECT - com.meeshkan.http.types.HttpMethod
-
The CONNECT method establishes a tunnel to the server identified by the target resource.
D
- DELETE - com.meeshkan.http.types.HttpMethod
-
The DELETE method deletes the specified resource.
E
- equals(Object) - Method in class com.meeshkan.http.types.HttpExchange
- equals(Object) - Method in class com.meeshkan.http.types.HttpHeaders
- equals(Object) - Method in class com.meeshkan.http.types.HttpRequest
- equals(Object) - Method in class com.meeshkan.http.types.HttpResponse
- equals(Object) - Method in class com.meeshkan.http.types.HttpUrl
F
- fromJson(InputStream) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Read a single HTTP exchange from a JSON formatted string in the HTTP types format.
- fromJson(Reader) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Read a single HTTP exchange from a JSON formatted string in the HTTP types format.
- fromJson(String) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Read a single HTTP exchange from a JSON formatted string in the HTTP types format.
- fromJsonLines(InputStream) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Parse a stream of HTTP exchanges from a HTTP Types JSON Lines formatted input.
- fromJsonLines(Reader) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Parse a stream of HTTP exchanges from a HTTP Types JSON Lines formatted input.
- fromJsonLines(String) - Static method in class com.meeshkan.http.types.HttpExchangeReader
-
Parse a stream of HTTP exchanges from a HTTP Types JSON Lines formatted input.
G
- GET - com.meeshkan.http.types.HttpMethod
-
The GET method requests a representation of the specified resource.
- getAll(String) - Method in class com.meeshkan.http.types.HttpHeaders
-
All header values for the given header name.
- getAllQueryParameters(String) - Method in class com.meeshkan.http.types.HttpUrl
-
All query parameter values of the specified name, or an empty list if none.
- getBody() - Method in class com.meeshkan.http.types.HttpRequest
-
Body string of this HTTP request, if any.
- getBody() - Method in class com.meeshkan.http.types.HttpResponse
- getFirst(String) - Method in class com.meeshkan.http.types.HttpHeaders
-
Return the first header value for the given header name, if any.
- getFirstQueryParameter(String) - Method in class com.meeshkan.http.types.HttpUrl
-
First query parameter value of the specified parameter name, or null if none.
- getHeaders() - Method in class com.meeshkan.http.types.HttpRequest
-
HTTP headers used in this request.
- getHeaders() - Method in class com.meeshkan.http.types.HttpResponse
- getHost() - Method in class com.meeshkan.http.types.HttpUrl
-
Host of this URL, including and optional port number.
- getMethod() - Method in class com.meeshkan.http.types.HttpRequest
-
HTTP method indicating the desired action of this request.
- getPath() - Method in class com.meeshkan.http.types.HttpUrl
-
The path of this URL, not including query.
- getPathname() - Method in class com.meeshkan.http.types.HttpUrl
-
The path of this URL, not including query.
- getProtocol() - Method in class com.meeshkan.http.types.HttpUrl
-
HTTP protocol of this URL.
- getQueryParameters() - Method in class com.meeshkan.http.types.HttpUrl
-
All query parameters of this URL as a map.
- getRequest() - Method in class com.meeshkan.http.types.HttpExchange
-
The HTTP request made in this exchange, which caused the HTTP response returned by
HttpExchange.getResponse()
. - getResponse() - Method in class com.meeshkan.http.types.HttpExchange
-
The HTTP response made in this exchange, caused by the HTTP request returned by
HttpExchange.getRequest()
. - getStatusCode() - Method in class com.meeshkan.http.types.HttpResponse
- getUrl() - Method in class com.meeshkan.http.types.HttpRequest
-
URL describing the request target of this HTTP request.
H
- hashCode() - Method in class com.meeshkan.http.types.HttpExchange
- hashCode() - Method in class com.meeshkan.http.types.HttpHeaders
- hashCode() - Method in class com.meeshkan.http.types.HttpRequest
- hashCode() - Method in class com.meeshkan.http.types.HttpResponse
- hashCode() - Method in class com.meeshkan.http.types.HttpUrl
- HEAD - com.meeshkan.http.types.HttpMethod
-
The HEAD method asks for a response identical to that of a GET request, but without the response body.
- headers(HttpHeaders) - Method in class com.meeshkan.http.types.HttpRequest.Builder
-
Set the headers of the HTTP request to build.
- headers(HttpHeaders) - Method in class com.meeshkan.http.types.HttpResponse.Builder
- host(String) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set the host part of the URL to build.
- HTTP - com.meeshkan.http.types.HttpProtocol
-
The unencrypted HTTP protocol.
- HttpExchange - Class in com.meeshkan.http.types
-
HTTP request and response pair.
- HttpExchange.Builder - Class in com.meeshkan.http.types
-
Builder of immutable
HttpExchange
instances. - HttpExchangeReader - Class in com.meeshkan.http.types
-
Reader of
HTTP exchanges
in the HTTP Types JSON Lines format. - HttpExchangeWriter - Class in com.meeshkan.http.types
-
Writer of
HTTP exchanges
in the HTTP Types JSON Lines format. - HttpExchangeWriter(OutputStream) - Constructor for class com.meeshkan.http.types.HttpExchangeWriter
-
Creates a HTTP exchange writer that uses the specified output stream.
- HttpExchangeWriter(Writer) - Constructor for class com.meeshkan.http.types.HttpExchangeWriter
-
Creates a HTTP exchange writer that uses the specified output writer.
- HttpHeaders - Class in com.meeshkan.http.types
-
HTTP request or response headers.
- HttpHeaders.Builder - Class in com.meeshkan.http.types
-
Builder of immutable
HttpHeaders
instances. - HttpMethod - Enum in com.meeshkan.http.types
-
HTTP request method to indicate the desired action to be performed for a given resource.
- HttpProtocol - Enum in com.meeshkan.http.types
-
HTTP protocol - either
HttpProtocol.HTTP
orHttpProtocol.HTTPS
. - HttpRequest - Class in com.meeshkan.http.types
-
HTTP request.
- HttpRequest(HttpUrl, HttpMethod, HttpHeaders, String) - Constructor for class com.meeshkan.http.types.HttpRequest
- HttpRequest.Builder - Class in com.meeshkan.http.types
-
Builder of
HttpResponse
. - HttpResponse - Class in com.meeshkan.http.types
-
HTTP response.
- HttpResponse.Builder - Class in com.meeshkan.http.types
-
Builder of immutable
HttpResponse
instances. - HTTPS - com.meeshkan.http.types.HttpProtocol
-
The encrypted HTTPS protocol.
- HttpUrl - Class in com.meeshkan.http.types
-
HTTP request URL.
- HttpUrl(HttpProtocol, String, String, Map<String, List<String>>) - Constructor for class com.meeshkan.http.types.HttpUrl
- HttpUrl.Builder - Class in com.meeshkan.http.types
-
Builder of immutable
HttpUrl
instances.
M
- method(HttpMethod) - Method in class com.meeshkan.http.types.HttpRequest.Builder
-
Set the HTTP method on the HTTP request.
O
- OPTIONS - com.meeshkan.http.types.HttpMethod
-
The OPTIONS method is used to describe the communication options for the target resource.
P
- PATCH - com.meeshkan.http.types.HttpMethod
-
The PATCH method is used to apply partial modifications to a resource.
- path(String) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set the path name and query parameters.
- pathname(String) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set the path name without any query parameters.
- POST - com.meeshkan.http.types.HttpMethod
-
The POST method is used to submit an entity to the specified resource, often causing a change in state or side effects on the server.
- protocol(HttpProtocol) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set the protocol part of the URL to build.
- PUT - com.meeshkan.http.types.HttpMethod
-
The PUT method replaces all current representations of the target resource with the request payload.
Q
- queryParameters(Map<String, String>) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set all query parameters from a single-valued map.
- queryParametersMultivalued(Map<String, List<String>>) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set all query parameters from a multi-valued map.
R
- request(HttpRequest) - Method in class com.meeshkan.http.types.HttpExchange.Builder
-
Set the HTTP request on this exchange.
- response(HttpResponse) - Method in class com.meeshkan.http.types.HttpExchange.Builder
-
Set the HTTP response on this exchange.
S
- statusCode(int) - Method in class com.meeshkan.http.types.HttpResponse.Builder
T
- toString() - Method in class com.meeshkan.http.types.HttpExchange
- toString() - Method in class com.meeshkan.http.types.HttpHeaders
- toString() - Method in class com.meeshkan.http.types.HttpRequest
- toString() - Method in class com.meeshkan.http.types.HttpResponse
- toString() - Method in class com.meeshkan.http.types.HttpUrl
- TRACE - com.meeshkan.http.types.HttpMethod
-
The TRACE method performs a message loop-back test along the path to the target resource.
U
- url(HttpUrl) - Method in class com.meeshkan.http.types.HttpRequest.Builder
-
Set the URL part of the HTTP request to build.
- url(URL) - Method in class com.meeshkan.http.types.HttpUrl.Builder
-
Set all fields on this HTTP url from a
URL
instance
V
- valueOf(String) - Static method in enum com.meeshkan.http.types.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.meeshkan.http.types.HttpProtocol
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.meeshkan.http.types.HttpMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.meeshkan.http.types.HttpProtocol
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- write(HttpExchange) - Method in class com.meeshkan.http.types.HttpExchangeWriter
-
Writes a HTTP exchange as a single JSON formatted line.
- writeAll(Collection<HttpExchange>) - Method in class com.meeshkan.http.types.HttpExchangeWriter
-
Writes multiple HTTP Exchanges, each formatted in JSON format on a single line.
All Classes All Packages