Class CommonsCompressRuntime

java.lang.Object
org.apache.hc.client5.http.entity.compress.CommonsCompressRuntime

@Internal @Contract(threading=STATELESS) final class CommonsCompressRuntime extends Object
Lightweight guard that checks whether the Commons Compress factory class is loadable with the current class loader.

Used by the codec registry to decide if reflective wiring of optional codecs should even be attempted.

Since:
5.6
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Non-instantiable.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static boolean
    Returns true if the core Commons Compress class can be loaded with the current class-loader, false otherwise.

    Methods inherited from class Object

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

  • Constructor Details

    • CommonsCompressRuntime

      private CommonsCompressRuntime()
      Non-instantiable.
  • Method Details

    • available

      static boolean available()
      Returns true if the core Commons Compress class can be loaded with the current class-loader, false otherwise.