Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
ee.jakarta.tck.ws.rs.ee.rs.client.invocationbuilder.JAXRSClientIT
@ExtendWith(org.jboss.arquillian.junit5.ArquillianExtension.class)
public class JAXRSClientIT
extends JaxrsCommonClient
-
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.client.JaxrsCommonClient
clients, isTestCaseAfterInvocation, testCaseFields 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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprotected jakarta.ws.rs.client.Invocation.BuildercreateBuilderForMethod(String methodName) Create Invocation.Builder for given resource method and start timestatic org.jboss.shrinkwrap.api.spec.WebArchiveprotected <T> jakarta.ws.rs.client.Entity<T>createEntity(T entity) protected Stringvoidvoidvoidprotected StringlangToString(Locale language) Methods inherited from class ee.jakarta.tck.ws.rs.common.client.JaxrsCommonClient
addHeader, addProvider, bufferEntity, buildRequest, buildRequest, cleanup, getMetadata, getProvidersToRegister, getResponse, getResponseBody, getResponseBody, getResponseHeaders, getResponseStatusCode, getTestCase, invoke, listToString, printClientCall, setAsynchronousProcessing, setPrintEntity, setProperty, setRequestContentEntity, setTestProperties, setTextCaser, setup, setWebTestCaseProperties, splitByColonMethods 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, buildRequest10, clearProperty, clearTestProperties, createHttpRequest, editWebXmlString, fault, getAbsoluteUrl, getAbsoluteUrl, getContextRoot, getLocalInterfaceInfo, getServletName, getStatusCode, isNullOrEmpty, logMsg, logTrace, objectsToString, objectsToString, setContextRoot, setProperty, setProperty, setServletName, setTestDir, setTestProperties, setWebTestCaseProperties, setWebTestCaseRequest, toString
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
createDeployment
@Deployment(testable=false) public static org.jboss.shrinkwrap.api.spec.WebArchive createDeployment() throws IOException- Throws:
IOException
-
acceptLanguageByLocalesTest
- Throws:
JAXRSCommonClient.Fault
-
acceptLanguageByStringsTest
- Throws:
JAXRSCommonClient.Fault
-
asyncTest
- Throws:
JAXRSCommonClient.Fault
-
buildTest
- Throws:
JAXRSCommonClient.Fault
-
buildWithEntityTest
- Throws:
JAXRSCommonClient.Fault
-
buildDeleteTest
- Throws:
JAXRSCommonClient.Fault
-
buildGetTest
- Throws:
JAXRSCommonClient.Fault
-
buildPostTest
- Throws:
JAXRSCommonClient.Fault
-
buildPutTest
- Throws:
JAXRSCommonClient.Fault
-
cacheControlTest
- Throws:
JAXRSCommonClient.Fault
-
cookieCookieTest
- Throws:
JAXRSCommonClient.Fault
-
cookieStringStringTest
- Throws:
JAXRSCommonClient.Fault
-
headerObjectTest
- Throws:
JAXRSCommonClient.Fault
-
headersMultivaluedMapTest
- Throws:
JAXRSCommonClient.Fault
-
headersMultivaluedMapIsNullReplacesAllTest
- Throws:
JAXRSCommonClient.Fault
-
getUrl
-
createBuilderForMethod
Create Invocation.Builder for given resource method and start time -
createEntity
protected <T> jakarta.ws.rs.client.Entity<T> createEntity(T entity) -
langToString
- Returns:
- simulates toLanguageTag() for java prior version 7
-