Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W X 

A

AbstractConfiguration - Class in com.github.mjeanroy.junit.servers.servers
Generic configuration that should be extended for each custom embedded server.
AbstractConfiguration(AbstractConfigurationBuilder<?, ?>) - Constructor for class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
AbstractConfiguration() - Constructor for class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Initialize configuration with default values.
AbstractConfiguration(String, String, String, int, Map<String, String>, List<Hook>, ClassLoader, String) - Constructor for class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Initialize configuration.
AbstractConfiguration - Class in com.github.mjeanroy.junit.servers.servers.configuration
Deprecated.
AbstractConfiguration() - Constructor for class com.github.mjeanroy.junit.servers.servers.configuration.AbstractConfiguration
Deprecated.
Initialize default configuration.
AbstractConfiguration(AbstractConfigurationBuilder<?, ?>) - Constructor for class com.github.mjeanroy.junit.servers.servers.configuration.AbstractConfiguration
Deprecated.
Initialize configuration.
AbstractConfiguration(String, String, String, int, Map<String, String>, List<Hook>, ClassLoader, String) - Constructor for class com.github.mjeanroy.junit.servers.servers.configuration.AbstractConfiguration
Deprecated.
Initialize configuration.
AbstractConfigurationBuilder<T extends AbstractConfigurationBuilder<T,U>,U extends AbstractConfiguration> - Class in com.github.mjeanroy.junit.servers.servers
Builder for AbstractConfiguration instances, should be extended by custom configuration implementation.
AbstractConfigurationBuilder() - Constructor for class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Build default configuration.
AbstractConfigurationBuilder<T extends AbstractConfigurationBuilder<T,U>,U extends AbstractConfiguration> - Class in com.github.mjeanroy.junit.servers.servers.configuration
Deprecated.
AbstractConfigurationBuilder() - Constructor for class com.github.mjeanroy.junit.servers.servers.configuration.AbstractConfigurationBuilder
Deprecated.
Build default configuration.
AbstractEmbeddedServer<S,T extends AbstractConfiguration> - Class in com.github.mjeanroy.junit.servers.servers
Partial implementation of an embedded server.
AbstractEmbeddedServer(T) - Constructor for class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Build default embedded server.
AbstractHttpClient - Class in com.github.mjeanroy.junit.servers.client.impl
Abstract skeleton of HttpClient interface.
AbstractHttpClient(HttpClientConfiguration, EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
Create abstract skeleton.
AbstractHttpRequest - Class in com.github.mjeanroy.junit.servers.client.impl
Abstract skeleton of HttpRequest interface.
AbstractHttpRequest(HttpUrl, HttpMethod) - Constructor for class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
AbstractHttpResponse - Class in com.github.mjeanroy.junit.servers.client.impl
Abstract skeleton of HttpResponse interface.
AbstractHttpResponse(long) - Constructor for class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
Create the partial HTTP response implementation.
ACCEPT - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Accept header name.
ACCEPT_ENCODING - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Accept-Encoding header name.
ACCEPT_LANGUAGE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Accept-Language header name.
acceptGzip() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add Accept-Encoding header with "gzip, deflate" value.
acceptGzip() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
acceptJson() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that accept type is "application/json".
acceptJson() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
acceptLanguage(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add Accept-Language header.
acceptLanguage(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
acceptXml() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that accept type is "application/xml".
acceptXml() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addAcceptEncoding(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add Accept-Encoding header.
addAcceptEncoding(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addCookie(Cookie) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add cookie to http request.
addCookie(String, String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add cookie to http request.
addCookie(Cookie) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addCookie(String, String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addCsrfToken(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add CSRF Token to http header (X-Csrf-Token header).
addCsrfToken(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addDefaultCookie(Cookie) - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Add new default cookie.
addDefaultCookie(String, String) - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Add new default cookie.
addDefaultHeader(HttpHeader) - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Add new default header: if a header with the same name as already been added, it will be overwritten with this new header.
addDefaultHeader(String, String) - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Add new default header: if a header with the same name as already been added, it will be overwritten with this new header.
addFormParam(String, String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add form parameters.
addFormParam(String, String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addFormParams(HttpParameter, HttpParameter...) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add collection of parameters.
addFormParams(HttpParameter, HttpParameter...) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addHeader(String, String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header.
addHeader(HttpHeader) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header.
addHeader(String, String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addHeader(HttpHeader) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addIfMatch(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add If-Match header with expected value.
addIfMatch(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addIfModifiedSince(Date) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add If-Modified-Since value with expected date (date will be translated as GMT raw).
addIfModifiedSince(Date) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addIfNoneMatch(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add If-None-Match header with expected value.
addIfNoneMatch(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addIfUnmodifiedSince(Date) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add If-Unmodified-Since value with expected date (date will be translated as GMT raw).
addIfUnmodifiedSince(Date) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addOrigin(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add Origin header.
addOrigin(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addQueryParam(String, String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add query parameters: a query parameter is a parameter that will follow the ? character in the request URL.
addQueryParam(String, String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addQueryParams(HttpParameter, HttpParameter...) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add collection of query parameters: a query parameter is a parameter that will follow the ? character in the request URL.
addQueryParams(HttpParameter, HttpParameter...) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addReferer(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add Referer header.
addReferer(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
addValue(String) - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader.Builder
Add value to http header.
addXHttpMethodOverride(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add X-Http-Method-Override value with HTTP verb to override.
addXHttpMethodOverride(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
after() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
 
afterAll() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Run the AFTER step of the lifecycle test.
afterAll() - Method in interface com.github.mjeanroy.junit.servers.engine.TestLifeCycleAdapter
Method called after all tests have been run.
afterAll(ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 
afterEach(Object) - Method in class com.github.mjeanroy.junit.servers.engine.AnnotationsHandlerTestLifeCycleAdapter
 
afterEach(Object) - Method in interface com.github.mjeanroy.junit.servers.engine.TestLifeCycleAdapter
Method called after running unit test.
afterEach(ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 
AnnotationsHandlerTestLifeCycleAdapter - Class in com.github.mjeanroy.junit.servers.engine
An engine that will handle various annotations defined by Junit-Servers: TestServer TestServerConfiguration TestHttpClient
AnnotationsHandlerTestLifeCycleAdapter(EmbeddedServer<?>, AbstractConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.engine.AnnotationsHandlerTestLifeCycleAdapter
Create test lifecycle engine that will setup following Junit-Servers annotations declared in test class: TestServer TestServerConfiguration TestHttpClient
ApacheHttpClient - Class in com.github.mjeanroy.junit.servers.client.impl.apache
Implementation of HttpClient using apache http client library under the hood.
append(String, String) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new string value.
append(String, Integer) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new integer value.
append(String, Long) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new long value.
append(String, Boolean) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new boolean value.
append(String, Map<?, ?>) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new map value.
append(String, Object) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new object value.
append(String, Iterable<T>) - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Append new boolean value.
APPLICATION_FORM_URL_ENCODED - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The media type for HTML forms.
APPLICATION_JSON - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The JSON media type.
APPLICATION_XML - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The XML media type.
apply(T) - Method in interface com.github.mjeanroy.junit.servers.commons.Mapper
Mapper method.
apply(T) - Method in interface com.github.mjeanroy.junit.servers.commons.Predicate
Predicate method.
asFormUrlEncoded() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that content type is "application/x-www-form-urlencoded".
asFormUrlEncoded() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
asJson() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that content type is "application/json".
asJson() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
asMultipartFormData() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that content type is "multipart/form-data".
asMultipartFormData() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
asXml() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add header to specify that content type is "application/xml".
asXml() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
asXmlHttpRequest() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Most library (such as jQuery) add automatically header named "X-Requested-With" with value "XMLHttpRequest", this method add this header and can be used to simulate ajax call.
asXmlHttpRequest() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
AsyncHttpClient - Class in com.github.mjeanroy.junit.servers.client.impl.async
Implementation of HttpClient using async-http-client under the hood.

B

before() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
 
beforeAll() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Run the BEFORE step of the lifecycle test.
beforeAll() - Method in interface com.github.mjeanroy.junit.servers.engine.TestLifeCycleAdapter
Method called before instantiating the test class and any test instance.
beforeAll(ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 
beforeEach(Object) - Method in class com.github.mjeanroy.junit.servers.engine.AnnotationsHandlerTestLifeCycleAdapter
 
beforeEach(Object) - Method in interface com.github.mjeanroy.junit.servers.engine.TestLifeCycleAdapter
Method called before running unit test.
beforeEach(ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 
body() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Http response body.
body - Variable in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
The request body.
body() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
build() - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Create the cookie.
build() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Create new client configuration.
build(EmbeddedServer<? extends AbstractConfiguration>) - Method in enum com.github.mjeanroy.junit.servers.client.HttpClientStrategy
Return the http client implementation.
build(HttpClientConfiguration, EmbeddedServer<? extends AbstractConfiguration>) - Method in enum com.github.mjeanroy.junit.servers.client.HttpClientStrategy
Return the http client implementation.
build() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader.Builder
Build HTTP header instance.
build() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Create immutable HttpUrl instance from current field values.
build() - Method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Build the final string.
build() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Build the final configuration instance.
Builder(String, String) - Constructor for class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Create the builder with a cookie name and value.
Builder() - Constructor for class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Create builder with default values.
builder(String) - Static method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Create builder for HttpHeader.
Builder() - Constructor for class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Create builder.
buildRequest(HttpMethod, HttpUrl) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
Build request object.
buildRequest(HttpMethod, HttpUrl) - Method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
 
buildRequest(HttpMethod, HttpUrl) - Method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
 
buildRequest(HttpMethod, HttpUrl) - Method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
 
buildRequest(HttpMethod, HttpUrl) - Method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
 

C

CACHE_CONTROL - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Cache-Control header name.
canEqual(AbstractHttpResponse) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
Ensure that given object o can be equal to this.
canEqual(AbstractHttpResponse) - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
canEqual(Object) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Ensure that an object can be equal to the current instance.
classRules() - Method in class com.github.mjeanroy.junit.servers.junit4.JunitServerRunner
 
ClassUtils - Class in com.github.mjeanroy.junit.servers.commons
Static class utilities.
CollectionUtils - Class in com.github.mjeanroy.junit.servers.commons
Static collection utilities.
com.github.mjeanroy.junit.servers.annotations - package com.github.mjeanroy.junit.servers.annotations
 
com.github.mjeanroy.junit.servers.client - package com.github.mjeanroy.junit.servers.client
 
com.github.mjeanroy.junit.servers.client.impl - package com.github.mjeanroy.junit.servers.client.impl
 
com.github.mjeanroy.junit.servers.client.impl.apache - package com.github.mjeanroy.junit.servers.client.impl.apache
 
com.github.mjeanroy.junit.servers.client.impl.async - package com.github.mjeanroy.junit.servers.client.impl.async
 
com.github.mjeanroy.junit.servers.client.impl.ning - package com.github.mjeanroy.junit.servers.client.impl.ning
 
com.github.mjeanroy.junit.servers.client.impl.okhttp3 - package com.github.mjeanroy.junit.servers.client.impl.okhttp3
 
com.github.mjeanroy.junit.servers.commons - package com.github.mjeanroy.junit.servers.commons
 
com.github.mjeanroy.junit.servers.engine - package com.github.mjeanroy.junit.servers.engine
 
com.github.mjeanroy.junit.servers.exceptions - package com.github.mjeanroy.junit.servers.exceptions
 
com.github.mjeanroy.junit.servers.junit4 - package com.github.mjeanroy.junit.servers.junit4
 
com.github.mjeanroy.junit.servers.jupiter - package com.github.mjeanroy.junit.servers.jupiter
 
com.github.mjeanroy.junit.servers.rules - package com.github.mjeanroy.junit.servers.rules
 
com.github.mjeanroy.junit.servers.runner - package com.github.mjeanroy.junit.servers.runner
 
com.github.mjeanroy.junit.servers.servers - package com.github.mjeanroy.junit.servers.servers
 
com.github.mjeanroy.junit.servers.servers.configuration - package com.github.mjeanroy.junit.servers.servers.configuration
 
CompositeClassLoader - Class in com.github.mjeanroy.junit.servers.commons
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.
CompositeClassLoader(ClassLoader, ClassLoader) - Constructor for class com.github.mjeanroy.junit.servers.commons.CompositeClassLoader
Create the classloader.
concat(List<T>, T) - Static method in class com.github.mjeanroy.junit.servers.commons.CollectionUtils
Concat new value to existing inputs and returns new outputs.
concatenatePath(String, String) - Static method in class com.github.mjeanroy.junit.servers.commons.UrlUtils
Concatenate two path value.
configuration - Variable in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Server configuration.
containsHeader(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Check that given header is available.
containsHeader(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
CONTENT_ENCODING - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Content-Encoding header name.
CONTENT_SECURITY_POLICY - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Content-Security-Policy header name.
CONTENT_TYPE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Content-Type header name.
Cookie - Class in com.github.mjeanroy.junit.servers.client
Default implementation for cookie object.
cookie(String, String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookie
Deprecated.
cookie(String, String, String, String, Long, Long, boolean, boolean) - Static method in class com.github.mjeanroy.junit.servers.client.Cookie
cookie(String, String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Create cookie with a name and a value, all other parameters will use the default values: The webapp path is initialized with "src/main/webapp" The path is initialized with "/" The port is initialized with zero. The cookie is not secured. The cookie is not http-only. The cookie max-age is null. .
cookie(String, String, String, String, Long, Long, boolean, boolean) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Create cookie.
COOKIE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Cookie header name.
Cookie.Builder - Class in com.github.mjeanroy.junit.servers.client
Builder to create Cookie instances.
Cookies - Class in com.github.mjeanroy.junit.servers.client
Static cookie utilities.
cookies - Variable in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
Cookie elements.
create(Class<?>) - Static method in class com.github.mjeanroy.junit.servers.commons.ToStringBuilder
Create initial builder.
createUri(String, String, int, String) - Static method in class com.github.mjeanroy.junit.servers.commons.UrlUtils
Create URI object and wrap URISyntaxException to UrlException.

D

Dates - Class in com.github.mjeanroy.junit.servers.commons
Static date utilities.
defaultApacheHttpClient(EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
Create new http client using default internal client.
defaultAsyncHttpClient(EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
Create new http client using default internal http client.
defaultAsyncHttpClient(EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
Create new http client using internal http client from async-http-client library.
defaultConfiguration() - Static method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
Get the default configuration.
DefaultHttpResponse - Class in com.github.mjeanroy.junit.servers.client.impl
A simple implementation of HttpResponse.
defaultOkHttpClient(EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
Create new http client using internal http client from ok-http library.
destroy() - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Destroy client.
destroy() - Method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
 
destroy() - Method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
 
destroy() - Method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
 
destroy() - Method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
 
disableFollowRedirect() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Disable follow redirection handling.
doExecute() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
Execute request.
doGetPort() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Get port once server is started.
domain(String) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie domain.
doStart() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Start embedded server.
doStop() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Stop embedded server.

E

EmbeddedServer<T extends AbstractConfiguration> - Interface in com.github.mjeanroy.junit.servers.servers
Specification of embedded server.
EmbeddedServerProvider<T extends AbstractConfiguration> - Interface in com.github.mjeanroy.junit.servers.servers
 
EmbeddedServerTestLifeCycleAdapter - Class in com.github.mjeanroy.junit.servers.engine
An engine that will handle the embedded server lifecycle: Start embedded server before running any tests. Stop embedded server after all tests are run.
EmbeddedServerTestLifeCycleAdapter() - Constructor for class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Create rule with default embedded server.
EmbeddedServerTestLifeCycleAdapter(AbstractConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Create rule with embedded server configuration.
EmbeddedServerTestLifeCycleAdapter(EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Create rule with an embedded server.
enableFollowRedirect() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration.Builder
Enable follow redirection handling.
EncoderUtils - Class in com.github.mjeanroy.junit.servers.commons
Static IO utilities.
ensureAbsolutePath(String) - Static method in class com.github.mjeanroy.junit.servers.commons.UrlUtils
Ensure that given path is an absolute path (i.e starts with '/'.
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.Cookie
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
equals(Object) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
 
ETAG - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The ETag header name.
execute() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Execute request and return http response: execution is synchronous and will block until response is available.
execute() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
executeJson() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Execute request and return http response: execution is synchronous and will block until response is available.
executeJson() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
executeXml() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Execute request and return http response: execution is synchronous and will block until response is available.
executeXml() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
expires(long) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie expires value.

F

finalize() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
findAllFields(Class<?>) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Get all fields on given object and look for fields of super classes.
findClass(String) - Method in class com.github.mjeanroy.junit.servers.commons.CompositeClassLoader
 
findConfiguration(Class<?>) - Static method in class com.github.mjeanroy.junit.servers.engine.Servers
Find configuration object on static field / method on running class.
findResource(String) - Method in class com.github.mjeanroy.junit.servers.commons.CompositeClassLoader
 
findStaticFieldsAnnotatedWith(Class<?>, Class<? extends Annotation>) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Get all static fields on given class object annotated with given annotation.
findStaticMethodsAnnotatedWith(Class<?>, Class<? extends Annotation>) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Get all static methods on given class object annotated with given annotation.
firstNonNull(T, T) - Static method in class com.github.mjeanroy.junit.servers.commons.ObjectUtils
 
format(Date, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Dates
Format date according to given pattern.
formParams - Variable in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
Form parameters, typically sent using a "classic" HTML form.

G

getCacheControl() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Cache-Control header from http response.
getCacheControl() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getClasspath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getClasspath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getClient() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Returns HTTP client that can be used against EmbeddedServerTestLifeCycleAdapter.server.
getClient(HttpClientStrategy) - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Returns HTTP client that can be used against EmbeddedServerTestLifeCycleAdapter.server.
getClient() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Returns HTTP client that can be used against embedded server.
getConfiguration() - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Get the client configuration.
getConfiguration() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
getConfiguration() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getConfiguration() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Return server configuration.
getContentEncoding() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Content-Encoding header from http response.
getContentEncoding() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getContentSecurityPolicy() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Content-Security-Policy header from http response.
getContentSecurityPolicy() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getContentType() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Content-Type header from http response.
getContentType() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getCookie(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get cookie by its name (if cookie is missing, null is returned).
getCookie(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getCookies() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get all cookies sent by server.
getCookies() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getDefaultCookies() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
Get HttpClientConfiguration.defaultCookies (non-modifiable list).
getDefaultHeaders() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
Get HttpClientConfiguration.defaultHeaders (non-modifiable map).
getDelegate() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
Get internal server implementation.
getDomain() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Get cookie domain.
getEncodedName() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
Get the URL encoded parameter name.
getEncodedValue() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
Get the URL encoded parameter value.
getEndpoint() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Request URL.
getEndpoint() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
getEnvProperties() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Get AbstractConfiguration.envProperties as a non-modifiable map.
getEnvProperties() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getETag() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get ETag header from http response.
getETag() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getExpires() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Get cookie expires value.
getFirstValue() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Get first value of header.
getHeader(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get header from HTTP response (if header is missing, null will be returned).
getHeader(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
getHeaders() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get the list of headers.
getHeaders() - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
getHooks() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Get AbstractConfiguration.hooks as a non-modifiable list.
getHooks() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getHost() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Get URL Host.
getHost() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get embedded server scheme (should be "localhost").
getHost() - Method in exception com.github.mjeanroy.junit.servers.exceptions.UrlException
The host used to build malformed URL.
getHost() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get embedded server scheme (should be "localhost").
getHost() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getHost() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get the host, should be "localhost", unless specific configuration.
getLastModified() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Last-Modified header from http response.
getLastModified() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getLastValue() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Get last value of header.
getLocation() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Location header from http response.
getLocation() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getMaxAge() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Cookie max age.
getMethod() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Return http request method.
getMethod() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
getName() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Get cookie name.
getName() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Get header name.
getName() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
getOverrideDescriptor() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getOverrideDescriptor() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getParentClassLoader() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
Get AbstractConfiguration.parentClassLoader, as a non-modifiable collection.
getParentClassLoader() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getParentClasspath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getParentClasspath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getPath() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Get cookie path.
getPath() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Get URL Path.
getPath() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get path defined on embedded server.
getPath() - Method in exception com.github.mjeanroy.junit.servers.exceptions.UrlException
The path used to build malformed URL.
getPath() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get path defined on embedded server.
getPath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getPath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getPath() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getPath() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get server context path.
getPort() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Get URL Port.
getPort() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get port used by embedded server.
getPort() - Method in exception com.github.mjeanroy.junit.servers.exceptions.UrlException
The port used to build malformed URL.
getPort() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get port used by embedded server.
getPort() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getPort() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getPort() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getPort() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get port used by embedded server.
getRequestDuration() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get duration of request execution in nano seconds.
getRequestDuration() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getRequestDurationInMillis() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get duration of request execution in milli seconds (shortcut for getRequestDuration() / 100).
getRequestDurationInMillis() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getScheme() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Get URL Scheme.
getScheme() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get embedded server scheme (a.k.a "http" or "https").
getScheme() - Method in exception com.github.mjeanroy.junit.servers.exceptions.UrlException
The scheme used to build malformed URL.
getScheme() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get embedded server scheme (a.k.a "http" or "https").
getScheme() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getScheme() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get the protocol scheme ("http", "https").
getServer() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get embedded server.
getServer() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get embedded server.
getServletContext() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get servlet context used within container.
getStrictTransportSecurity() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get Strict-Transport-Security header from http response.
getStrictTransportSecurity() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getter(Field) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Get value of static field.
getter(Object, Field) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Get value of field on target object.
getTestRules(Object) - Method in class com.github.mjeanroy.junit.servers.junit4.JunitServerRunner
 
getTime(String, String, String...) - Static method in class com.github.mjeanroy.junit.servers.commons.Dates
Parse date using given pattern and return time value.
getUrl() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Get url used to query embedded server.
getUrl() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Get url used to query embedded server.
getUrl() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
getUrl() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Get URL to query embedded server.
getValue() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Get cookie value.
getValue() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
getValues() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Get header values (returned list is not modifiable).
getVerb() - Method in enum com.github.mjeanroy.junit.servers.client.HttpMethod
Get formatted http verb: Always in upper case. Related to given HTTP method.
getWebapp() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
getWebapp() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
getXContentSecurityPolicy() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get X-Content-Security-Policy header from http response: this header was initially an experimental header implemented in Firefox.
getXContentSecurityPolicy() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getXContentTypeOptions() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get X-Content-Type-Options header from http response.
getXContentTypeOptions() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getXWebkitCSP() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get X-Webkit-CSP header from http response: this header was initially an experimental header implemented in Webkit browser (Chrome and Safari).
getXWebkitCSP() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
getXXSSProtection() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Get X-XSS-Protection header from http response.
getXXSSProtection() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 

H

hasBody() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
Check if the request have a body content (form parameters or request body value).
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
hashCode() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
 
header(String, String) - Static method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Create a header with a single value.
header(String, Collection<String>) - Static method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Create a header with multiple values.
headers - Variable in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
HTTP Headers.
Hook - Interface in com.github.mjeanroy.junit.servers.servers
Hook that will be invoked: Before server is started. Just after server is started. After server is stopped.
HttpClient - Interface in com.github.mjeanroy.junit.servers.client
Http client that can be used to query embedded server.
HttpClientConfiguration - Class in com.github.mjeanroy.junit.servers.client
HTTP Client configuration that can be used to configure instances of HttpClient.
HttpClientConfiguration.Builder - Class in com.github.mjeanroy.junit.servers.client
Builder for HttpClientConfiguration class.
HttpClientException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when http request throws exception (such as IOException).
HttpClientException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.HttpClientException
Create exception.
HttpClientStrategy - Enum in com.github.mjeanroy.junit.servers.client
Available strategies that can be used to build appropriate implementation of http client.
HttpHeader - Class in com.github.mjeanroy.junit.servers.client
Http getHeader representation.
HttpHeader.Builder - Class in com.github.mjeanroy.junit.servers.client
Builder for HttpHeader.
HttpHeaders - Class in com.github.mjeanroy.junit.servers.client
Set of constants and utilities for HTTP headers.
HttpMethod - Enum in com.github.mjeanroy.junit.servers.client
Http methods available with abstract client.
httpOnly(boolean) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie http-only flag.
HttpParameter - Class in com.github.mjeanroy.junit.servers.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 HttpHeaders.APPLICATION_FORM_URL_ENCODED media type).
HttpRequest - Interface in com.github.mjeanroy.junit.servers.client
HTTP request.
HttpResponse - Interface in com.github.mjeanroy.junit.servers.client
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.
HttpUrl - Class in com.github.mjeanroy.junit.servers.client
URL object without: Authority part. Query string. Fragment.
HttpUrl.Builder - Class in com.github.mjeanroy.junit.servers.client
Builder used to create HttpUrl instances.

I

IF_MATCH - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The If-Match header name.
IF_MODIFIED_SINCE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The If-Modified-Since header name.
IF_NONE_MATCH - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The If-None-Match header name.
IF_UNMODIFIED_SINCE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The If-Unmodified-Since header name.
IllegalConfigurationException - Exception in com.github.mjeanroy.junit.servers.exceptions
 
IllegalConfigurationException(String) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.IllegalConfigurationException
 
instantiate(Class<?>) - Static method in class com.github.mjeanroy.junit.servers.engine.Servers
Instantiate jetty or tomcat embedded server.
instantiate(AbstractConfiguration) - Static method in class com.github.mjeanroy.junit.servers.engine.Servers
Instantiate jetty or tomcat embedded server.
instantiate() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServerProvider
 
instantiate(T) - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServerProvider
 
instantiateServer(Class<?>, AbstractConfiguration) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
Instantiate server (implementation to use is automatically detected using the Service Provider API).
invoke(Method) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Invoke the static method without any arguments.
isBodyAllowed() - Method in enum com.github.mjeanroy.junit.servers.client.HttpMethod
Check if request method allow body request (as form url encoded parameter or as json / xml body).
isDestroyed() - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Check that HTTP client has been destroyed.
isDestroyed() - Method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
 
isDestroyed() - Method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
 
isDestroyed() - Method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
 
isDestroyed() - Method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
 
isEmpty(Collection<?>) - Static method in class com.github.mjeanroy.junit.servers.commons.CollectionUtils
Check if a collection is null or empty.
isFollowRedirect() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
isHttpOnly() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Cookie http-only flag.
isNotBlank(String) - Static method in class com.github.mjeanroy.junit.servers.commons.Strings
Check that given string is not blank.
isPostJdk9() - Static method in class com.github.mjeanroy.junit.servers.commons.JavaUtils
Check if runtime java version is at least Java 9.
isPresent(String) - Static method in class com.github.mjeanroy.junit.servers.commons.ClassUtils
Check if a given class is available in classpath.
isSecure() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
Cookie secure flag.
isStarted() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Check if embedded server is started.
isStarted() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Check if embedded server is started.
isStarted() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
isStarted() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Check if embedded server is started.

J

JavaUtils - Class in com.github.mjeanroy.junit.servers.commons
Static Java Utilities.
join(Iterable<T>, String) - Static method in class com.github.mjeanroy.junit.servers.commons.CollectionUtils
Join elements of a collection to a final string using a given separator.
JunitServerExtension - Class in com.github.mjeanroy.junit.servers.jupiter
Extension for Junit Jupiter.
JunitServerExtension() - Constructor for class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
Create the jupiter with default server that will be automatically detected using the Service Provider API.
JunitServerExtension(EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
Create the jupiter with given server to start/stop before/after tests.
JunitServerExtension(AbstractConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
Create the jupiter with given server configuration.
JunitServerRunner - Class in com.github.mjeanroy.junit.servers.junit4
Runner that will start and stop embedded server before tests.
JunitServerRunner(Class<?>) - Constructor for class com.github.mjeanroy.junit.servers.junit4.JunitServerRunner
Create runner starting an embedded server.
JunitServerRunner(Class<?>, EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.junit4.JunitServerRunner
Create runner with given embedded server.
JunitServerRunner - Class in com.github.mjeanroy.junit.servers.runner
Deprecated.
Use JunitServerRunner instead.
JunitServerRunner(Class<?>) - Constructor for class com.github.mjeanroy.junit.servers.runner.JunitServerRunner
Deprecated.
Create runner starting an embedded server.
JunitServerRunner(Class<?>, EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.runner.JunitServerRunner
Deprecated.
Create runner with given embedded server.

L

LAST_MODIFIED - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Last-Modified header name.
LOCATION - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Location header name.

M

map(Collection<T>, Mapper<T, U>) - Static method in class com.github.mjeanroy.junit.servers.commons.CollectionUtils
Map input values to output values.
Mapper<T,U> - Interface in com.github.mjeanroy.junit.servers.commons
Mapper interface.
maxAge(long) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie max-age.
MULTIPART_FORM_DATA - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The media type for file upload.

N

newApacheHttpClient(EmbeddedServer<?>, CloseableHttpClient) - Static method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
newApacheHttpClient(HttpClientConfiguration, EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.apache.ApacheHttpClient
Create new http client using custom configuration.
newAsyncHttpClient(EmbeddedServer<?>, AsyncHttpClient) - Static method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
newAsyncHttpClient(HttpClientConfiguration, EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.async.AsyncHttpClient
Create new http client using custom configuration.
newAsyncHttpClient(EmbeddedServer<?>, AsyncHttpClient) - Static method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
newAsyncHttpClient(HttpClientConfiguration, EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.ning.NingAsyncHttpClient
Create new http client using custom configuration.
newOkHttpClient(HttpClientConfiguration, EmbeddedServer<?>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
Create new http client using custom configuration.
newOkHttpClient(EmbeddedServer<?>, OkHttpClient) - Static method in class com.github.mjeanroy.junit.servers.client.impl.okhttp3.OkHttpClient
NingAsyncHttpClient - Class in com.github.mjeanroy.junit.servers.client.impl.ning
Implementation of HttpClient using (Ning) async-http-client under the hood.
notBlank(String, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Preconditions
Check that a given string value is not blank (i.e not null, not empty and not blank).
notEmpty(Collection<T>, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Preconditions
Check that given collection is not empty (i.e null or with a size equal to zero).
notNull(T, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Preconditions
Check that a given value is not null.

O

ObjectUtils - Class in com.github.mjeanroy.junit.servers.commons
Static Object Utilities.
of(long, int, String, Collection<HttpHeader>) - Static method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
Create a default HTTP Response from given values.
OkHttpClient - Class in com.github.mjeanroy.junit.servers.client.impl.okhttp3
Implementation of HttpClient using OkHttp library from Square.
onStarted(EmbeddedServer<?>, ServletContext) - Method in interface com.github.mjeanroy.junit.servers.servers.Hook
Method invoked when server is fully started.
ORIGIN - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Origin header name.
overrideDelete() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add X-Http-Method-Override value with DELETE value.
overrideDelete() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
overridePut() - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add @{code X-Http-Method-Override} value with PUT value.
overridePut() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 

P

param(String, String) - Static method in class com.github.mjeanroy.junit.servers.client.HttpParameter
Create new parameter object.
parse(String) - Static method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Parse URL string to create new HttpUrl instance.
path(String) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie path.
PORT_SEPARATOR - Static variable in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
positive(int, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Preconditions
Check that a given integer is positive.
positive(long, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Preconditions
Check that a given long value is positive.
post(EmbeddedServer<?>) - Method in interface com.github.mjeanroy.junit.servers.servers.Hook
Method invoked before server stops.
pre(EmbeddedServer<?>) - Method in interface com.github.mjeanroy.junit.servers.servers.Hook
Method invoked before server starts.
Preconditions - Class in com.github.mjeanroy.junit.servers.commons
Static utilities that can be used to check object's values.
Predicate<T> - Interface in com.github.mjeanroy.junit.servers.commons
Predicate interface.
prepareDelete(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create DELETE request.
prepareDelete(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
prepareGet(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create GET request.
prepareGet(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
prepareHead(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create HEAD request.
prepareHead(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
preparePatch(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create PATCH request.
preparePatch(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
preparePost(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create POST request.
preparePost(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
preparePut(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create PUT request.
preparePut(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 
prepareRequest(HttpMethod, String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpClient
Create request.
prepareRequest(HttpMethod, String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpClient
 

Q

queryParams - Variable in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
Request parameters.

R

read(String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookie
Deprecated.
read(String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Create a cookie from header value.
readResponseBody() - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpResponse
Read HTTP Response _body as a String.
readResponseBody() - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
REFERER - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Referer header name.
ReflectionException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when reflection api throws exception (such as IllegalAccessException) in annotations handlers.
ReflectionException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ReflectionException
Create exception.
ReflectionUtils - Class in com.github.mjeanroy.junit.servers.commons
Static reflection utilities.
removePrefix(String, String) - Static method in class com.github.mjeanroy.junit.servers.commons.Strings
Remove string prefix if and only if string value starts with the prefix, otherwise original string is returned.
REQUESTED_WITH - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Requested-With header name: this is non-standard header but is generally used by libraries and frameworks (such as jQuery) to give information about the HTTP request.
resolveParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 
restart() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Restart embedded server.
restart() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Restart embedded server.
restart() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
restart() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Restart embedded server.

S

SCHEME_SEPARATOR - Static variable in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
secure(boolean) - Method in class com.github.mjeanroy.junit.servers.client.Cookie.Builder
Update cookie secure flag.
secureCookie(String, String, String, String, Long, Long) - Static method in class com.github.mjeanroy.junit.servers.client.Cookie
secureCookie(String, String, String, String, Long, Long) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Create a secured cookie, it means that cookie will have secure flag and http only flag set to true.
self() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
The this object, useful to get correct chaining.
serialize(Iterable<Cookie>) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Serialize cookies as a string that is ready to be sent to a server over an HTTP request (a.k.a value of Cookie header).
serializeValues() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
Serialize header values using the default separator.
ServerImplConflictException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when embedded server implementation detections returns more than one eligible "custom" implementation.
ServerImplConflictException() - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ServerImplConflictException
Create exception.
ServerImplMissingException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when embedded server implementation is missing.
ServerImplMissingException() - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ServerImplMissingException
Create exception.
ServerInitializationException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when server cannot be initialized.
ServerInitializationException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ServerInitializationException
 
ServerRule - Class in com.github.mjeanroy.junit.servers.junit4
Rule that can be used to start and stop embedded server.
ServerRule() - Constructor for class com.github.mjeanroy.junit.servers.junit4.ServerRule
Create rule with default embedded server.
ServerRule(AbstractConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.junit4.ServerRule
Create rule with embedded server configuration.
ServerRule(EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.junit4.ServerRule
Create rule with an embedded server.
ServerRule - Class in com.github.mjeanroy.junit.servers.rules
Deprecated.
Use ServerRule instead.
ServerRule() - Constructor for class com.github.mjeanroy.junit.servers.rules.ServerRule
Deprecated.
Create rule with default embedded server.
ServerRule(AbstractConfiguration) - Constructor for class com.github.mjeanroy.junit.servers.rules.ServerRule
Deprecated.
Create rule with embedded server configuration.
ServerRule(EmbeddedServer<?>) - Constructor for class com.github.mjeanroy.junit.servers.rules.ServerRule
Deprecated.
Create rule with an embedded server.
Servers - Class in com.github.mjeanroy.junit.servers.engine
Static utilities for server instantiation and configuration.
ServerStartException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when server cannot be started.
ServerStartException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ServerStartException
 
ServerStatus - Enum in com.github.mjeanroy.junit.servers.servers
Flag that can be used to track server status.
ServerStopException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when server cannot be stopped.
ServerStopException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.ServerStopException
 
sessionCookie(String, String, String, String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookie
sessionCookie(String, String, String, String) - Static method in class com.github.mjeanroy.junit.servers.client.Cookies
Create a session cookie, it means that cookie will have secure flag and http only flag set to true and expires / max age values are set to zero.
SET_COOKIE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Set-Cookie header name.
setBody(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Set request body.
setBody(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
setter(Object, Field, Object) - Static method in class com.github.mjeanroy.junit.servers.commons.ReflectionUtils
Set value of given field on given instance.
start() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Start embedded server.
start() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Start embedded server.
start() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
start() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Start embedded server.
startsWithHttpScheme(String) - Static method in class com.github.mjeanroy.junit.servers.commons.UrlUtils
Check if given url starts with HTTP scheme (i.e "http" or "https").
status() - Method in interface com.github.mjeanroy.junit.servers.client.HttpResponse
Http status code.
status() - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
stop() - Method in class com.github.mjeanroy.junit.servers.engine.EmbeddedServerTestLifeCycleAdapter
Stop embedded server.
stop() - Method in class com.github.mjeanroy.junit.servers.junit4.ServerRule
Stop embedded server.
stop() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractEmbeddedServer
 
stop() - Method in interface com.github.mjeanroy.junit.servers.servers.EmbeddedServer
Stop embedded server.
STRICT_TRANSPORT_SECURITY - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The Strict-Transport-Security header name.
Strings - Class in com.github.mjeanroy.junit.servers.commons
Static string utilities.
support() - Method in enum com.github.mjeanroy.junit.servers.client.HttpClientStrategy
Check if the strategy can be used as it is supported by the runtime environment.
supportsParameter(ParameterContext, ExtensionContext) - Method in class com.github.mjeanroy.junit.servers.jupiter.JunitServerExtension
 

T

TestHttpClient - Annotation Type in com.github.mjeanroy.junit.servers.annotations
Annotation that can be used to inject simple http client to query embedded server.
TestLifeCycleAdapter - Interface in com.github.mjeanroy.junit.servers.engine
A test lifecycle engine: 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.
TestServer - Annotation Type in com.github.mjeanroy.junit.servers.annotations
Annotation that can be used to inject embedded server into unit tests.
TestServerConfiguration - Annotation Type in com.github.mjeanroy.junit.servers.annotations
Annotation that can be used to specify that a given method or static field is the configuration to use on embedded container.
toLowerCase(String) - Static method in class com.github.mjeanroy.junit.servers.commons.Strings
Returns the lowercase value of a given string: Returns null if value is null. Returns the result of String.toLowerCase() otherwise.
toString() - Method in class com.github.mjeanroy.junit.servers.client.Cookie
 
toString() - Method in class com.github.mjeanroy.junit.servers.client.HttpClientConfiguration
 
toString() - Method in class com.github.mjeanroy.junit.servers.client.HttpHeader
 
toString() - Method in class com.github.mjeanroy.junit.servers.client.HttpParameter
 
toString() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
 
toString() - Method in class com.github.mjeanroy.junit.servers.client.impl.DefaultHttpResponse
 
toString() - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfiguration
 
ToStringBuilder - Class in com.github.mjeanroy.junit.servers.commons
Static utility to create easily toString implementation.
toURI() - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl
Create new URI from URL fields.

U

urlEncode(String) - Static method in class com.github.mjeanroy.junit.servers.commons.EncoderUtils
Translates a string into application/x-www-form-urlencoded format using UTF-8 encoding.
UrlException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when URL cannot be built because of syntax error.
UrlException(String, String, int, String, Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.UrlException
Create the exception.
UrlUtils - Class in com.github.mjeanroy.junit.servers.commons
Static URL utilities.
USER_AGENT - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The User-Agent header name.
Utf8EncodingException - Exception in com.github.mjeanroy.junit.servers.exceptions
Exception thrown when UTF-8 encoding is not supported on the runtime environment.
Utf8EncodingException(Throwable) - Constructor for exception com.github.mjeanroy.junit.servers.exceptions.Utf8EncodingException
Create the exception with original cause and a default error message.

V

valueOf(String) - Static method in enum com.github.mjeanroy.junit.servers.client.HttpClientStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mjeanroy.junit.servers.client.HttpMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.mjeanroy.junit.servers.servers.ServerStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.mjeanroy.junit.servers.client.HttpClientStrategy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mjeanroy.junit.servers.client.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.mjeanroy.junit.servers.servers.ServerStatus
Returns an array containing the constants of this enum type, in the order they are declared.

W

withClasspath(String) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withHook(Hook) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Add new executable hook to the AbstractConfigurationBuilder.hooks list.
withHost(String) - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Update URL Host.
withOverrideDescriptor(String) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Change AbstractConfigurationBuilder.overrideDescriptor (path of the custom web.xml file descriptor=.
withParentClassLoader(Class<?>) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withParentClasspath(Class<?>, FileFilter) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Deprecated.
The filter parameter will be useless in the next release for JDK9 compatibility, please use AbstractConfigurationBuilder.withParentClassLoader(Class) instead.
withParentClasspath(Class<?>) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withParentClasspath(URL, URL...) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withParentClasspath(Collection<URL>) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withPath(String) - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Update URL Path.
withPath(String) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withPort(int) - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Update URL Port.
withPort(int) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withProperty(String, String) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
Add new property entry to the AbstractConfigurationBuilder.envProperties map.
withScheme(String) - Method in class com.github.mjeanroy.junit.servers.client.HttpUrl.Builder
Update URL Scheme.
withUserAgent(String) - Method in interface com.github.mjeanroy.junit.servers.client.HttpRequest
Add User-Agent header to http request.
withUserAgent(String) - Method in class com.github.mjeanroy.junit.servers.client.impl.AbstractHttpRequest
 
withWebapp(String) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder
withWebapp(File) - Method in class com.github.mjeanroy.junit.servers.servers.AbstractConfigurationBuilder

X

X_CONTENT_SECURITY_POLICY - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Content-Security-Policy header name: this is a non-official / non-standard header name for the Content-Security-Policy specification and was implemented in browsers before the standard CSP header.
X_CONTENT_TYPE_OPTIONS - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Content-Type-Options header name.
X_CSRF_TOKEN - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Csrf-Token header name.
X_HTTP_METHOD_OVERRIDE - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Http-Method-Override header name: this is non-standard header but is generally used by libraries and frameworks to override the method specified in the template.
X_WEBKIT_CSP - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-Content-Security-Policy header name: this is a non-official / non-standard header name for the Content-Security-Policy specification and was implemented in webkit browsers before the standard CSP header.
X_XSS_PROTECTION - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The X-XSS-Protection header name.
XML_HTTP_REQUEST - Static variable in class com.github.mjeanroy.junit.servers.client.HttpHeaders
The value for HttpHeaders.REQUESTED_WITH header used by Web libraries such as jQuery.
A B C D E F G H I J L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2018. All rights reserved.