Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.api.client.clientresponsecontext.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 TypeMethodDescriptionprotected static voidassertStatus(jakarta.ws.rs.core.Response r, jakarta.ws.rs.core.Response.Status status) protected static jakarta.ws.rs.client.InvocationbuildInvocation(jakarta.ws.rs.client.ClientRequestFilter requestFilter, ContextProvider... provider) protected static jakarta.ws.rs.client.WebTargetbuildTarget(jakarta.ws.rs.client.ClientRequestFilter requestFilter, ContextProvider... providers) voidprotected static jakarta.ws.rs.client.ClientRequestFiltercreateRequestFilter(jakarta.ws.rs.core.Response response) voidvoidvoidvoidvoidvoidvoidvoid<T> voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected static Datevoidvoidprotected static StringgetUrl()voidvoidvoidvoidprotected static jakarta.ws.rs.core.Responseinvoke(jakarta.ws.rs.client.Invocation i) Call given provider CheckContextFilter methodprotected static voidinvokeWithResponseAndAssertStatus(jakarta.ws.rs.core.Response response, jakarta.ws.rs.core.Response.Status status, ContextProvider provider) voidvoidvoidMethods 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
-
getAllowedMethodsTest
- Throws:
JAXRSCommonClient.Fault
-
getCookiesTest
- Throws:
JAXRSCommonClient.Fault
-
getDateTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityStreamTest
- Throws:
JAXRSCommonClient.Fault
-
getEntityTagTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersTest
- Throws:
JAXRSCommonClient.Fault
-
getHeadersIsMutableTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringIsNullTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringIsEmptyTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getHeaderStringIsCommaSeparatedTest
- Throws:
JAXRSCommonClient.Fault
-
containsHeaderStringTest
- Throws:
JAXRSCommonClient.Fault
-
getLanguageTest
- Throws:
JAXRSCommonClient.Fault
-
getLastModifiedTest
- Throws:
JAXRSCommonClient.Fault
-
getLengthTest
- Throws:
JAXRSCommonClient.Fault
-
getLinkTest
- Throws:
JAXRSCommonClient.Fault
-
getLinkBuilderTest
- Throws:
JAXRSCommonClient.Fault
-
getLinksTest
- Throws:
JAXRSCommonClient.Fault
-
getLocationTest
- Throws:
JAXRSCommonClient.Fault
-
getMediaTypeTest
- Throws:
JAXRSCommonClient.Fault
-
getStatusTest
- Throws:
JAXRSCommonClient.Fault
-
getStatusInfoTest
- Throws:
JAXRSCommonClient.Fault
-
hasEntityWhenEntityTest
- Throws:
JAXRSCommonClient.Fault
-
hasEntityWhenNoEntityTest
- Throws:
JAXRSCommonClient.Fault
-
hasLinkWhenLinkTest
- Throws:
JAXRSCommonClient.Fault
-
hasLinkWhenNoLinkTest
- Throws:
JAXRSCommonClient.Fault
-
setEntityStreamTest
- Throws:
JAXRSCommonClient.Fault
-
setStatusTest
- Throws:
JAXRSCommonClient.Fault
-
setStatusInfoTest
- Throws:
JAXRSCommonClient.Fault
-
createRequestFilter
protected static jakarta.ws.rs.client.ClientRequestFilter createRequestFilter(jakarta.ws.rs.core.Response response) -
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
protected static jakarta.ws.rs.client.Invocation buildInvocation(jakarta.ws.rs.client.ClientRequestFilter requestFilter, ContextProvider... provider) -
buildTarget
protected static jakarta.ws.rs.client.WebTarget buildTarget(jakarta.ws.rs.client.ClientRequestFilter requestFilter, ContextProvider... providers) -
assertStatus
protected static void assertStatus(jakarta.ws.rs.core.Response r, jakarta.ws.rs.core.Response.Status status) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
invokeWithResponseAndAssertStatus
protected static void invokeWithResponseAndAssertStatus(jakarta.ws.rs.core.Response response, jakarta.ws.rs.core.Response.Status status, ContextProvider provider) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
getUrl
- Returns:
- any nonexistent URL
-
getNewDate
-