Package com.github.kristofa.test.http

Interface Summary
ForwardHttpRequestBuilder Responsible for building forwarding http requests.
FullHttpRequest A Full HTTP Request extends a HttpRequest with domain (host), port.
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.
 

Class Summary
DefaultHttpResponseProvider A HttpResponseProvider that supports http request with all properties.
FullHttpRequestImpl Represents a HTTP request.
HttpMessageHeader Represents http message header entry.
HttpRequestImpl  
HttpResponseImpl HttpResponse implementation.
LoggingHttpProxy Http proxy that supports logging requests/reponses.
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  
MockHttpServer  
PassthroughForwardHttpRequestBuilder An implementation of ForwardHttpRequestBuilder that constructs FullHttpRequests that redirects the request to the external service by changing the domain and port of the request.
PassthroughLoggingHttpProxy A LoggingHttpProxy that will behave as a pass-through proxy between the system-under-test and the external service.
QueryParameter Defines a query parameter key/value.
SimpleHttpResponseProvider HttpResponseProvider that keeps expected request/responses in memory.
 

Enum Summary
HttpMessageHeaderField List of often used http message header fields.
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.Mode Specifies the mode in which MockAndProxyFacade should be operating.
 

Exception Summary
UnsatisfiedExpectationException Indicates there are http requests that we expected but did not get and/or that we got unexpected http requests.
 



Copyright © 2014. All Rights Reserved.