Package org.nuxeo.jaxrs.test
Class HttpClientTestRule
java.lang.Object
org.nuxeo.jaxrs.test.HttpClientTestRule
- All Implemented Interfaces:
org.junit.rules.TestRule
@Deprecated(since="2023.13",
forRemoval=true)
public class HttpClientTestRule
extends Object
implements org.junit.rules.TestRule
Deprecated, for removal: This API element is subject to removal in a future version.
- Since:
- 10.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Deprecated, for removal: This API element is subject to removal in a future version.The http client test rule builder. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.protected com.sun.jersey.api.client.Client
Deprecated, for removal: This API element is subject to removal in a future version.protected com.sun.jersey.api.client.WebResource
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.junit.runners.model.Statement
apply
(org.junit.runners.model.Statement base, org.junit.runner.Description description) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.protected CloseableClientResponse
execute
(String path, Function<com.sun.jersey.api.client.WebResource.Builder, com.sun.jersey.api.client.ClientResponse> invoker) Deprecated, for removal: This API element is subject to removal in a future version.void
finished()
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.void
starting()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
ADMINISTRATOR
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
client
protected com.sun.jersey.api.client.Client clientDeprecated, for removal: This API element is subject to removal in a future version. -
service
protected com.sun.jersey.api.client.WebResource serviceDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
apply
in interfaceorg.junit.rules.TestRule
-
starting
public void starting()Deprecated, for removal: This API element is subject to removal in a future version. -
finished
public void finished()Deprecated, for removal: This API element is subject to removal in a future version. -
get
Deprecated, for removal: This API element is subject to removal in a future version. -
post
Deprecated, for removal: This API element is subject to removal in a future version. -
put
Deprecated, for removal: This API element is subject to removal in a future version. -
delete
Deprecated, for removal: This API element is subject to removal in a future version. -
execute
protected CloseableClientResponse execute(String path, Function<com.sun.jersey.api.client.WebResource.Builder, com.sun.jersey.api.client.ClientResponse> invoker) Deprecated, for removal: This API element is subject to removal in a future version.
-
HttpClientTestRule
instead