Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.api.client.clientrequestcontext.JAXRSClientIT
-
Nested Class Summary
Nested classes/interfaces inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
JAXRSCommonClient.Fault, JAXRSCommonClient.Property, JAXRSCommonClient.Request
-
Field Summary
Fields inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
_contextRoot, _generalURI, _hostname, _port, _redirect, _saveState, _servlet, _state, _testCase, _testName, _tsHome, _useSavedState, GET, GF_SUFFIX, GOLDENFILE, GOLDENFILEDIR, HTTP10, HTTP11, indent, newline, REQUEST, REQUEST_HEADERS, SEARCH_STRING, servletAdaptor, SERVLETHOSTPROP, SERVLETPORTPROP, SL, STATUS_CODE, TEST_PROPS, TESTDIR, TSHOME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected static void
assertContains
(String string, String substring) protected static void
assertStatus
(jakarta.ws.rs.core.Response r, jakarta.ws.rs.core.Response.Status status) protected static jakarta.ws.rs.client.Invocation.Builder
buildBuilder
(ContextProvider... provider) protected static jakarta.ws.rs.client.Invocation
buildInvocation
(ContextProvider... provider) protected static jakarta.ws.rs.client.WebTarget
buildTarget
(ContextProvider... providers) void
protected <T> jakarta.ws.rs.client.Entity<T>
createEntity
(T entity) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
protected static String
getUrl()
void
protected static jakarta.ws.rs.core.Response
invoke
(jakarta.ws.rs.client.Invocation i) Call given provider CheckContextFilter methodvoid
void
Methods inherited from class ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
assertCause, assertContains, assertContains, assertContainsIgnoreCase, assertContainsIgnoreCase, assertEquals, assertEqualsBool, assertEqualsInt, assertEqualsLong, assertNotNull, assertNull, assertResponseBodyContain, assertResponseHeadersContain, buildAccept, buildContentType, buildHeaderMediaType, buildRequest, buildRequest, buildRequest10, cleanup, clearProperty, clearTestProperties, createHttpRequest, editWebXmlString, fault, getAbsoluteUrl, getAbsoluteUrl, getContextRoot, getLocalInterfaceInfo, getResponseBody, getResponseHeaders, getResponseStatusCode, getServletName, getStatusCode, invoke, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setup, setWebTestCaseProperties, setWebTestCaseRequest, toString
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
abortWithTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesByWeightsTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableLanguagesIsImmutableTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesIsSortedTest
- Throws:
JAXRSCommonClient.Fault
-
getAcceptableMediaTypesIsImmutableTest
- Throws:
JAXRSCommonClient.Fault
-
getClientTest
- Throws:
JAXRSCommonClient.Fault
-
getConfigurationTest
- Throws:
JAXRSCommonClient.Fault
-
getCookiesTest
- Throws:
JAXRSCommonClient.Fault
-
getCookiesIsImmutableTest
- Throws:
JAXRSCommonClient.Fault
-
getDateNullTest
- Throws:
JAXRSCommonClient.Fault
-
getDateTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityNullTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityAnnotationsTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityAnnotationsIsNotTakenFromEntityClassTest
@Test public void getEntityAnnotationsIsNotTakenFromEntityClassTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
getEntityAnnotationsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityClassTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityClassListStringTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityTypeListStringTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersIsMutableTest
- Throws:
JAXRSCommonClient.Fault
-
containsHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringUsingHeaderDelegateTest
- Throws:
JAXRSCommonClient.Fault
-
getLanguageIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getLanguageTest
- Throws:
JAXRSCommonClient.Fault
-
getMediaTypeIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getMediaTypeTest
- Throws:
JAXRSCommonClient.Fault
-
getMethodTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getSetPropertyTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyNamesTest
- Throws:
JAXRSCommonClient.Fault
-
getPropertyNamesIsImmutableTest
- Throws:
JAXRSCommonClient.Fault
-
getStringHeadersTest
- Throws:
JAXRSCommonClient.Fault
-
getStringHeadersReflectsTheUnderlayingMapTest
- Throws:
JAXRSCommonClient.Fault
-
getStringHeadersUsingHeaderDelegateTest
- Throws:
JAXRSCommonClient.Fault
-
getUriTest
- Throws:
JAXRSCommonClient.Fault
-
hasEntityTest
- Throws:
JAXRSCommonClient.Fault
-
removePropertyTest
- Throws:
JAXRSCommonClient.Fault
-
setEntityTest
- Throws:
JAXRSCommonClient.Fault
-
invoke
protected static jakarta.ws.rs.core.Response invoke(jakarta.ws.rs.client.Invocation i) throws JAXRSCommonClient.Fault Call given provider CheckContextFilter method- Throws:
JAXRSCommonClient.Fault
-
buildInvocation
-
buildTarget
-
buildBuilder
-
assertStatus
protected static void assertStatus(jakarta.ws.rs.core.Response r, jakarta.ws.rs.core.Response.Status status) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertContains
protected static void assertContains(String string, String substring) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
getUrl
- Returns:
- any possible url
-
createEntity
protected <T> jakarta.ws.rs.client.Entity<T> createEntity(T entity)
-