All Classes and Interfaces
Class
Description
Generic configuration that should be extended for
each custom embedded server.
AbstractConfigurationBuilder<T extends AbstractConfigurationBuilder<T,U>,U extends AbstractConfiguration>
Builder for
AbstractConfiguration
instances, should be extended by custom configuration implementation.Partial implementation of an embedded server.
Abstract skeleton of
HttpClient
interface.Abstract skeleton of
HttpRequest
interface.Abstract skeleton of
HttpResponse
interface.Static Annotation Utilities.
An engine that will handle various annotations defined by Junit-Servers:
TestServer
TestServerConfiguration
TestHttpClient
Implementation of
HttpClient
using apache http client
library under the hood.Implementation of
HttpClient
using async-http-client
under the hood.Static class utilities.
Static collection utilities.
A composite classloader is a classloader that has:
A parent classloader.
A fallback classloader.
When resolving classes or resources, the parent classloader is consulted first,
and if that classloader cannot find the class (or resource), the fallback classloader
is tried.
Default implementation for cookie object.
Builder to create
Cookie
instances.Static cookie utilities.
Static date utilities.
A simple implementation of
HttpResponse
.Error thrown when multiple server configuration are detected in given test class.
Specification of embedded server.
Factory used to create
EmbeddedServerProvider
(should be used with SPI).An engine that will handle the embedded server lifecycle:
Start embedded server before running any tests.
Stop embedded server after all tests are run.
Static encoding utilities.
Hook that will be invoked:
Before server is started.
Just after server is started.
After server is stopped.
Http client that can be used to query embedded server.
HTTP Client configuration that can be used to configure instances of
HttpClient
.Builder for
HttpClientConfiguration
class.Factory for
HttpClientConfiguration
.Exception thrown when http request throws exception (such
as IOException).
A provider that can be implemented to provide custom
HttpClient
using the standard SPI.Available strategies that can be used to build
appropriate implementation of http client.
Http getHeader representation.
Builder for
HttpHeader
.Set of constants and utilities for HTTP headers.
Http methods available with abstract
client.
Parameter object that could be sent in an http request as:
Query parameters (following
?
character in URL.
Form parameters (such as HTML forms, with MediaType.APPLICATION_FORM_URL_ENCODED
media type).
HTTP request.
Request Body Factories.
HTTP Request Body.
An implementation of
HttpRequestBody
for form url-encoded request bodies.A builder for
HttpRequestBodyForm
.A builder for
HttpRequestBodyMultipart
request.An implementation of
HttpRequestBody
for "multipart/form-data"
request bodies.Http response, defined by:
A status code: http return code (i.e 200, 400, 500 etc.).
A response body: this is the body of the http response as textual representation.
A set of headers.
Duration: time to produce http response.
URL object without:
Authority part.
Query string.
Fragment.
Builder used to create
HttpUrl
instances.Error thrown when server configuration is not valid.
Static I/O Utilities.
Static Java Utilities.
Extension for Junit Jupiter.
Runner that will start and stop embedded server before tests.
Logger abstraction.
Static Logger Factory.
Set of constants and utilities for Media Type (a.k.a Content Type).
Implementation of
HttpClient
using (Ning) async-http-client
under the hood.Static Object Utilities.
Implementation of
HttpClient
using OkHttp library from Square.Static utilities that can be used to check object's values.
Exception thrown when reflection api throws exception (such
as IllegalAccessException) in annotations handlers.
Static reflection utilities.
Exception thrown when embedded server implementation is missing.
Exception thrown when server cannot be initialized.
Rule that can be used to start and stop embedded server.
Static utilities for server instantiation
and configuration.
Exception thrown when server cannot be started.
Flag that can be used to track server status.
Exception thrown when server cannot be stopped.
Static string utilities.
Annotation that can be used to inject simple http
client to query embedded server.
The default implementation, that just returns the default configuration.
A test adapter: this is a class that implements commons test lifecycle hooks (before-all, before, after-all,
after), thus will be able to be used in various test engine:
JUnit 4 Rules.
JUnit 4 Runner.
JUnit Jupiter Extensions.
Annotation that can be used to inject embedded server
into unit tests.
Annotation that can be used to specify that a
given method or static field is the configuration
to use on embedded container.
Static utility to create easily toString implementation.
Exception thrown when URL cannot be built because of syntax error.
Static URL utilities.
Exception thrown when UTF-8 encoding is not supported on the runtime environment.