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 2023.13, useHttpClientTestRuleinstead- Since:
- 10.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpClientTestRule.BuilderDeprecated, for removal: This API element is subject to removal in a future version.The http client test rule builder.
-
Field Summary
Fields Modifier and Type Field Description static StringADMINISTRATORDeprecated, for removal: This API element is subject to removal in a future version.protected com.sun.jersey.api.client.ClientclientDeprecated, for removal: This API element is subject to removal in a future version.protected com.sun.jersey.api.client.WebResourceserviceDeprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(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.CloseableClientResponsedelete(String path)Deprecated, for removal: This API element is subject to removal in a future version.protected CloseableClientResponseexecute(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.voidfinished()Deprecated, for removal: This API element is subject to removal in a future version.CloseableClientResponseget(String path)Deprecated, for removal: This API element is subject to removal in a future version.CloseableClientResponsepost(String path, Object data)Deprecated, for removal: This API element is subject to removal in a future version.CloseableClientResponseput(String path, Object data)Deprecated, for removal: This API element is subject to removal in a future version.voidstarting()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Field Detail
-
ADMINISTRATOR
public static final String ADMINISTRATOR
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
client
protected com.sun.jersey.api.client.Client client
Deprecated, for removal: This API element is subject to removal in a future version.
-
service
protected com.sun.jersey.api.client.WebResource service
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
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:
applyin 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
public CloseableClientResponse get(String path)
Deprecated, for removal: This API element is subject to removal in a future version.
-
post
public CloseableClientResponse post(String path, Object data)
Deprecated, for removal: This API element is subject to removal in a future version.
-
put
public CloseableClientResponse put(String path, Object data)
Deprecated, for removal: This API element is subject to removal in a future version.
-
delete
public CloseableClientResponse delete(String path)
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.
-
-