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, use HttpClientTestRule instead
Since:
10.1
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated, 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 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 Type
    Method
    Description
    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.
     
    delete(String path)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    get(String path)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    post(String path, Object data)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    put(String path, Object data)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ADMINISTRATOR

      public static final String 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 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 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 interface org.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.