Class 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  HttpClientTestRule.Builder
      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 String ADMINISTRATOR
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected com.sun.jersey.api.client.Client client
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected com.sun.jersey.api.client.WebResource service
      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:
        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.
      • 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.