Class JAXRSClientIT
java.lang.Object
ee.jakarta.tck.ws.rs.common.JAXRSCommonClient
ee.jakarta.tck.ws.rs.api.rs.serviceunavailableexception.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
FieldsModifier and TypeFieldDescriptionprotected Date
protected static final String
protected static final String
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 void
assertCause
(jakarta.ws.rs.WebApplicationException e, Throwable expected) protected static void
assertHasRetryAfter
(jakarta.ws.rs.ServiceUnavailableException e, boolean hasIt) protected static void
assertMessage
(jakarta.ws.rs.WebApplicationException e) protected static void
assertResponse
(jakarta.ws.rs.WebApplicationException e) protected void
assertResponse
(jakarta.ws.rs.WebApplicationException e, String host) Check the given exception contains a prebuilt response containing the http header HOSTprotected void
assertRetryTimeIsNull
(jakarta.ws.rs.ServiceUnavailableException e, boolean isNull) protected void
assertRetryTimeMin
(jakarta.ws.rs.ServiceUnavailableException e, int seconds) protected jakarta.ws.rs.core.Response
buildResponse
(jakarta.ws.rs.core.Response.Status status) void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
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
-
Field Details
-
MESSAGE
- See Also:
-
HOST
- See Also:
-
date
-
-
Constructor Details
-
JAXRSClientIT
public JAXRSClientIT()
-
-
Method Details
-
constructorTest
- Throws:
JAXRSCommonClient.Fault
-
constructorLongTest
- Throws:
JAXRSCommonClient.Fault
-
constructorDateTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowsExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
constructorDateThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorLongThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorResponseThrowableThrowsExceptionTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringLongTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringDateTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowsIAETest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringDateThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringLongThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowableTest
- Throws:
JAXRSCommonClient.Fault
-
constructorStringResponseThrowableThrowsIAETest
- Throws:
JAXRSCommonClient.Fault
-
buildResponse
protected jakarta.ws.rs.core.Response buildResponse(jakarta.ws.rs.core.Response.Status status) -
assertResponse
protected static void assertResponse(jakarta.ws.rs.WebApplicationException e) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertResponse
protected void assertResponse(jakarta.ws.rs.WebApplicationException e, String host) throws JAXRSCommonClient.Fault Check the given exception contains a prebuilt response containing the http header HOST- Throws:
JAXRSCommonClient.Fault
-
assertCause
protected static void assertCause(jakarta.ws.rs.WebApplicationException e, Throwable expected) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
assertMessage
protected static void assertMessage(jakarta.ws.rs.WebApplicationException e) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-