| Package | Description |
|---|---|
| com.github.kristofa.test.http | |
| com.github.kristofa.test.http.client |
Defines a HttpClient interface and an implementation that adapts to using the Apache HttpClient.
|
| com.github.kristofa.test.http.file |
Provides implementations for storing http request/responses to disk using
LoggingHttpProxy and replaying them using
MockHttpServer. |
| Class and Description |
|---|
| AbstractHttpRequestMatchingFilter
Abstract
HttpRequestMatchingFilter implementation which is able to deal with setting and returning next
HttpRequestMatchingFilter in chain. |
| AbstractHttpResponseProvider
Abstract
HttpResponseProvider that contains the following functionality:
Exactly matching HttpRequests
In case of non exact match use submitted HttpRequestMatchingFilter to perform matching.
Support multiple times the same request with potentially different responses that are returned in a fixed order. |
| ContentMatcher
The content of a HttpRequest or response can be structured data like JSON / XML.
|
| ForwardHttpRequestBuilder
Responsible for building forwarding http requests.
|
| FullHttpRequest
A Full HTTP Request extends a
HttpRequest with domain (host), port. |
| FullHttpRequestImpl
Represents a HTTP request.
|
| HttpMessageHeader
Represents http message header entry.
|
| HttpMessageHeaderField
List of often used http message header fields.
|
| HttpRequest
Contains the HTTP request properties required to identify or compare a HTTP request.
|
| HttpRequestImpl |
| HttpRequestMatchingContext
Context for matching a http request.
|
| HttpRequestMatchingFilter
A
HttpRequestMatchingFilter contains logic to deal with expected differences between 2 requests and brings them
in-line so that they can potentially match. |
| HttpRequestResponseLogger
Logs a
HttpRequest / HttpResponse combination. |
| HttpRequestResponseLoggerFactory
Responsible for creating
HttpRequestResponseLogger instances. |
| HttpResponse
HTTP response.
|
| HttpResponseProvider
Provides responses for given
http requests. |
| HttpResponseProxy
Http responses can be large and they are only needed when the corresponding http request matched.
|
| LoggingHttpProxy
Http proxy that supports logging requests/reponses.
|
| MediaType
The media type is the value of Content-Type http message header and is defined of 2 or more parts.
|
| Method
Defines http methods.
|
| MockAndProxyFacade
Facade that lets you easily configure and use either the
LoggingHttpProxy for using real services and logging
requests/responses or the MockHttpServer for running your code against mocked http requests/responses. |
| MockAndProxyFacade.Builder |
| MockAndProxyFacade.Mode
Specifies the mode in which
MockAndProxyFacade should be operating. |
| QueryParameter
Defines a query parameter key/value.
|
SimpleHttpResponseProvider
HttpResponseProvider that keeps expected request/responses in memory. |
| UnexpectedContentException
Exception that indicates that an unexpected value for content was submitted.
|
| UnsatisfiedExpectationException
Indicates there are
http requests that we expected but did not get and/or that we got unexpected
http requests. |
| Class and Description |
|---|
| FullHttpRequest
A Full HTTP Request extends a
HttpRequest with domain (host), port. |
| Class and Description |
|---|
| AbstractHttpResponseProvider
Abstract
HttpResponseProvider that contains the following functionality:
Exactly matching HttpRequests
In case of non exact match use submitted HttpRequestMatchingFilter to perform matching.
Support multiple times the same request with potentially different responses that are returned in a fixed order. |
| HttpRequest
Contains the HTTP request properties required to identify or compare a HTTP request.
|
| HttpRequestResponseLogger
Logs a
HttpRequest / HttpResponse combination. |
| HttpRequestResponseLoggerFactory
Responsible for creating
HttpRequestResponseLogger instances. |
| HttpResponse
HTTP response.
|
| HttpResponseProvider
Provides responses for given
http requests. |
Copyright © 2014. All Rights Reserved.