Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.api.rs.notallowedexception.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
FieldsFields 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 voidassertCause(jakarta.ws.rs.WebApplicationException e, Throwable expected) protected voidassertMessage(jakarta.ws.rs.NotAllowedException e) protected voidassertResponse(jakarta.ws.rs.NotAllowedException e) protected voidassertResponse(jakarta.ws.rs.NotAllowedException e, String host) Check the given exception contains a prebuilt response containing the http header HOSTprotected jakarta.ws.rs.core.ResponsebuildResponse(jakarta.ws.rs.core.Response.Status status) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
Field Details
-
MESSAGE
- See Also:
-
HOST
- See Also:
-
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
constructorStringTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringThrowsNPETest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowsExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseDoesNotThrowWhenNoAllowHeaderTest
@Test public void constructorResponseDoesNotThrowWhenNoAllowHeaderTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
constructorThrowableStringTest
- Throws:
JAXRSCommonClient.Fault
-
constructorThrowableStringThrowsIAETest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowableThrowsExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowableThrowsIAEWhenNoAllowHeaderTest
@Test public void constructorResponseThrowableThrowsIAEWhenNoAllowHeaderTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
constructorStringStringStringsTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringStringStringsThrowsNPETest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowsIAETest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseDoesNotThrowWhenNoAllowHeaderTest
@Test public void constructorStringResponseDoesNotThrowWhenNoAllowHeaderTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
constructorStringThrowableStringsTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringThrowableStringsThrowsIAETest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowableThrowsExceptionTest
@Test public void constructorStringResponseThrowableThrowsExceptionTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowableThrowsIAEWhenNoAllowHeaderTest
@Test public void constructorStringResponseThrowableThrowsIAEWhenNoAllowHeaderTest() throws JAXRSCommonClient.Fault- Throws:
JAXRSCommonClient.Fault
-
buildResponse
protected jakarta.ws.rs.core.Response buildResponse(jakarta.ws.rs.core.Response.Status status) -
assertResponse
protected void assertResponse(jakarta.ws.rs.NotAllowedException e, String host) throws JAXRSCommonClient.Fault Check the given exception contains a prebuilt response containing the http header HOST- Throws:
JAXRSCommonClient.Fault
-
assertResponse
- Throws:
JAXRSCommonClient.Fault
-
assertCause
protected void assertCause(jakarta.ws.rs.WebApplicationException e, Throwable expected) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertMessage
- Throws:
JAXRSCommonClient.Fault
-