Class DefaultResponseLocator
java.lang.Object
org.talend.sdk.component.junit.http.internal.impl.DefaultResponseLocator
- All Implemented Interfaces:
AutoCloseable
,ResponseLocator
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
protected boolean
doesHeadersMatch
(Request request, DefaultResponseLocator.RequestModel model, Predicate<String> headerFilter) doFind
(Request request, String pref, ClassLoader loader, Predicate<String> headerFilter, boolean exactMatching) findMatching
(Request request, Predicate<String> headerFilter) void
protected byte[]
protected boolean
matches
(Request request, DefaultResponseLocator.RequestModel model, boolean exact, Predicate<String> headerFilter)
-
Field Details
-
PREFIX
- See Also:
-
-
Constructor Details
-
DefaultResponseLocator
-
-
Method Details
-
findMatching
- Specified by:
findMatching
in interfaceResponseLocator
-
doFind
-
getPayload
-
matches
protected boolean matches(Request request, DefaultResponseLocator.RequestModel model, boolean exact, Predicate<String> headerFilter) -
doesHeadersMatch
protected boolean doesHeadersMatch(Request request, DefaultResponseLocator.RequestModel model, Predicate<String> headerFilter) -
close
- Specified by:
close
in interfaceAutoCloseable
-
flush
-
addModel
-