Skip navigation links
A B C D E G H J M N O P R S U V W 

A

Action - Interface in com.github.paweladamski.httpclientmock.action
 
allMatches(T) - Method in class com.github.paweladamski.httpclientmock.matchers.MatchersList
 

B

BodyMatcher - Class in com.github.paweladamski.httpclientmock.condition
 
BodyMatcher(Matcher<String>) - Constructor for class com.github.paweladamski.httpclientmock.condition.BodyMatcher
 

C

called() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Verifies if there was exactly one request matching defined conditions.
called(int) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Verifies number of request matching defined conditions.
called(Matcher<Integer>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Verifies number of request matching defined conditions.
close() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
com.github.paweladamski.httpclientmock - package com.github.paweladamski.httpclientmock
 
com.github.paweladamski.httpclientmock.action - package com.github.paweladamski.httpclientmock.action
 
com.github.paweladamski.httpclientmock.condition - package com.github.paweladamski.httpclientmock.condition
 
com.github.paweladamski.httpclientmock.matchers - package com.github.paweladamski.httpclientmock.matchers
 
Condition - Interface in com.github.paweladamski.httpclientmock.condition
 

D

debug(Request, Debugger) - Method in class com.github.paweladamski.httpclientmock.condition.BodyMatcher
 
debug(Request, Debugger) - Method in interface com.github.paweladamski.httpclientmock.condition.Condition
 
debug(Request, Debugger) - Method in class com.github.paweladamski.httpclientmock.condition.HeaderCondition
 
debug(Request, Debugger) - Method in class com.github.paweladamski.httpclientmock.condition.HttpMethodCondition
 
debug(List<Rule>, Request) - Method in class com.github.paweladamski.httpclientmock.Debugger
 
debug(Request, Debugger) - Method in class com.github.paweladamski.httpclientmock.Rule
 
Debugger - Class in com.github.paweladamski.httpclientmock
 
Debugger() - Constructor for class com.github.paweladamski.httpclientmock.Debugger
 
debugOff() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
debugOn() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
delete(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
delete() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
describe() - Method in class com.github.paweladamski.httpclientmock.matchers.MatchersList
 
describe(String) - Method in class com.github.paweladamski.httpclientmock.matchers.MatchersMap
 
doAction(Action) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds custom action.
doAction(Action) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds custom action.
doExecute(HttpHost, HttpRequest, HttpContext) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
doReturn(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided response in UTF-8 and status 200.
doReturn(int, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided response and status in UTF-8.
doReturn(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided response in provided charset and status 200.
doReturn(int, String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided response in provided charset and status.
doReturn(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided response in UTF-8 and status 200.
doReturn(int, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided response in UTF-8 with status code.
doReturn(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided response in provided charset and status 200.
doReturn(int, String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided response in provided charset and status code.
doReturnJSON(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided JSON in UTF-8 and status 200.
doReturnJSON(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided JSON in provided encoding and status 200.
doReturnJSON(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided JSON in UTF-8 and status 200.
doReturnJSON(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided JSON in provided encoding and status 200.
doReturnStatus(int) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns empty message and provided status.
doReturnStatus(int) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns empty message and provided status.
doReturnXML(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided XML in UTF-8 and status 200.
doReturnXML(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which returns provided XML in UTF-8 and status 200.
doReturnXML(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided XML in UTF-8 and status 200.
doReturnXML(String, Charset) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which returns provided XML in UTF-8 and status 200.
doThrowException(IOException) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds action which throws provided exception.
doThrowException(IOException) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Adds action which throws provided exception.

E

EMPTY_PORT_NUMBER - Static variable in class com.github.paweladamski.httpclientmock.UrlParser
 
ExceptionAction - Class in com.github.paweladamski.httpclientmock.action
 
ExceptionAction(IOException) - Constructor for class com.github.paweladamski.httpclientmock.action.ExceptionAction
 

G

get(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
get() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
getConnectionManager() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
getHostConditions() - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
getHttpContext() - Method in class com.github.paweladamski.httpclientmock.Request
 
getHttpHost() - Method in class com.github.paweladamski.httpclientmock.Request
 
getHttpRequest() - Method in class com.github.paweladamski.httpclientmock.Request
 
getParameterConditions() - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
getParams() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
 
getPathConditions() - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
getPortConditions() - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
getReferenceConditions() - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
getResponse(Request) - Method in interface com.github.paweladamski.httpclientmock.action.Action
 
getResponse(Request) - Method in class com.github.paweladamski.httpclientmock.action.ExceptionAction
 
getResponse(Request) - Method in class com.github.paweladamski.httpclientmock.action.HeaderAction
 
getResponse(Request) - Method in class com.github.paweladamski.httpclientmock.action.StatusResponse
 
getResponse(Request) - Method in class com.github.paweladamski.httpclientmock.action.StringResponse
 
getUri() - Method in class com.github.paweladamski.httpclientmock.Request
 

H

hasContent(String) - Static method in class com.github.paweladamski.httpclientmock.matchers.HttpResponseMatchers
 
hasContent(String, String) - Static method in class com.github.paweladamski.httpclientmock.matchers.HttpResponseMatchers
 
hasStatus(int) - Static method in class com.github.paweladamski.httpclientmock.matchers.HttpResponseMatchers
 
head(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
head() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
HeaderAction - Class in com.github.paweladamski.httpclientmock.action
 
HeaderAction(Action, String, String) - Constructor for class com.github.paweladamski.httpclientmock.action.HeaderAction
 
HeaderCondition - Class in com.github.paweladamski.httpclientmock.condition
 
HeaderCondition(String, Matcher<String>) - Constructor for class com.github.paweladamski.httpclientmock.condition.HeaderCondition
 
HttpClientMock - Class in com.github.paweladamski.httpclientmock
 
HttpClientMock() - Constructor for class com.github.paweladamski.httpclientmock.HttpClientMock
Creates mock of Apache HttpClient
HttpClientMock(String) - Constructor for class com.github.paweladamski.httpclientmock.HttpClientMock
Creates mock of Apache HttpClient with default host.
HttpClientMockBuilder - Class in com.github.paweladamski.httpclientmock
 
HttpClientResponseBuilder - Class in com.github.paweladamski.httpclientmock
 
HttpClientVerify - Class in com.github.paweladamski.httpclientmock
 
HttpClientVerify(String, List<Request>) - Constructor for class com.github.paweladamski.httpclientmock.HttpClientVerify
 
HttpClientVerifyBuilder - Class in com.github.paweladamski.httpclientmock
 
HttpMethodCondition - Class in com.github.paweladamski.httpclientmock.condition
 
HttpMethodCondition(String) - Constructor for class com.github.paweladamski.httpclientmock.condition.HttpMethodCondition
 
HttpResponseMatchers - Class in com.github.paweladamski.httpclientmock.matchers
 
HttpResponseMatchers() - Constructor for class com.github.paweladamski.httpclientmock.matchers.HttpResponseMatchers
 

J

join(UrlConditions) - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 

M

MatchersList<T> - Class in com.github.paweladamski.httpclientmock.matchers
 
MatchersList() - Constructor for class com.github.paweladamski.httpclientmock.matchers.MatchersList
 
MatchersMap<K,V> - Class in com.github.paweladamski.httpclientmock.matchers
 
MatchersMap() - Constructor for class com.github.paweladamski.httpclientmock.matchers.MatchersMap
 
matches(Request) - Method in class com.github.paweladamski.httpclientmock.condition.BodyMatcher
 
matches(HttpHost, HttpRequest, HttpContext) - Method in interface com.github.paweladamski.httpclientmock.condition.Condition
 
matches(Request) - Method in interface com.github.paweladamski.httpclientmock.condition.Condition
 
matches(Request) - Method in class com.github.paweladamski.httpclientmock.condition.HeaderCondition
 
matches(Request) - Method in class com.github.paweladamski.httpclientmock.condition.HttpMethodCondition
 
matches(K, V) - Method in class com.github.paweladamski.httpclientmock.matchers.MatchersMap
 
message(boolean, String) - Method in class com.github.paweladamski.httpclientmock.Debugger
 

N

NOT_FOUND - Static variable in class com.github.paweladamski.httpclientmock.Rule
 
notCalled() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Verifies if there were no request matching defined conditions.

O

onDelete() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP DELETE method.
onDelete(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP DELETE method and url.
onGet() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP GET method.
onGet(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP GET method and url.
onHead() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP HEAD method.
onHead(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP HEAD method and url.
onOption() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP OPTION method.
onOptions(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP OPTIONS method and url.
onPatch() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP PATCH method.
onPatch(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP PATCH method and url.
onPost() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP POST method.
onPost(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP POST method and url.
onPut() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP PUT method.
onPut(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Starts defining new rule which requires HTTP PUT method and url.
options(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
options() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 

P

parse(String) - Static method in class com.github.paweladamski.httpclientmock.UrlParams
 
parse(String, Charset) - Static method in class com.github.paweladamski.httpclientmock.UrlParams
 
parse(String) - Method in class com.github.paweladamski.httpclientmock.UrlParser
 
patch(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
patch() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
post(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
post() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
put(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
put() - Method in class com.github.paweladamski.httpclientmock.HttpClientVerify
 
put(K, Matcher<V>) - Method in class com.github.paweladamski.httpclientmock.matchers.MatchersMap
 

R

Request - Class in com.github.paweladamski.httpclientmock
 
Request(HttpHost, HttpRequest, HttpContext) - Constructor for class com.github.paweladamski.httpclientmock.Request
 
reset() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Resets mock to initial state where there are no rules and no previous requests.
Rule - Class in com.github.paweladamski.httpclientmock
 
Rule(UrlConditions, List<Condition>, List<Action>) - Constructor for class com.github.paweladamski.httpclientmock.Rule
 

S

setHostConditions(MatchersList<String>) - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
setReferenceConditions(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
setSchemaConditions(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.UrlConditions
 
StatusResponse - Class in com.github.paweladamski.httpclientmock.action
 
StatusResponse(int) - Constructor for class com.github.paweladamski.httpclientmock.action.StatusResponse
 
StatusResponse(Action, int) - Constructor for class com.github.paweladamski.httpclientmock.action.StatusResponse
 
StringResponse - Class in com.github.paweladamski.httpclientmock.action
 
StringResponse(String, Charset) - Constructor for class com.github.paweladamski.httpclientmock.action.StringResponse
 
StringResponse(int, String, Charset) - Constructor for class com.github.paweladamski.httpclientmock.action.StringResponse
 

U

UrlConditions - Class in com.github.paweladamski.httpclientmock
 
UrlConditions() - Constructor for class com.github.paweladamski.httpclientmock.UrlConditions
 
UrlParams - Class in com.github.paweladamski.httpclientmock
 
UrlParams() - Constructor for class com.github.paweladamski.httpclientmock.UrlParams
 
UrlParser - Class in com.github.paweladamski.httpclientmock
 
UrlParser() - Constructor for class com.github.paweladamski.httpclientmock.UrlParser
 

V

verify() - Method in class com.github.paweladamski.httpclientmock.HttpClientMock
Creates verification builder.

W

with(Condition) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds custom conditions.
with(Condition) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds custom conditions.
withBody(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds body condition.
withBody(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds body condition.
withHeader(String, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds header condition.
withHeader(String, Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds header condition.
withHeader(String, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Sets response header.
withHeader(String, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds header condition.
withHeader(String, Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds header condition.
withHost(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds host condition.
withHost(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds host condition.
withParameter(String, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds parameter condition.
withParameter(String, Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds parameter condition.
withParameter(String, String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds parameter condition.
withParameter(String, Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds parameter condition.
withPath(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds path condition.
withPath(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds path condition.
withPath(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds path condition.
withPath(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds path condition.
withReference(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds reference condition.
withReference(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientMockBuilder
Adds reference condition.
withReference(String) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds reference condition.
withReference(Matcher<String>) - Method in class com.github.paweladamski.httpclientmock.HttpClientVerifyBuilder
Adds reference condition.
withStatus(int) - Method in class com.github.paweladamski.httpclientmock.HttpClientResponseBuilder
Sets response status code.
A B C D E G H J M N O P R S U V W 
Skip navigation links

Copyright © 2018. All rights reserved.