Interface B2StorageClientWebifier

  • All Superinterfaces:
    java.lang.AutoCloseable
    All Known Implementing Classes:
    B2StorageClientWebifierImpl

    public interface B2StorageClientWebifier
    extends java.lang.AutoCloseable
    A B2StorageClientWebifier is responsible for converting from request objects to web calls and back again. * A webifier's main job is to hide the web-ness from the higher-level logic. * A webifier does NOT retry calls. * A webifier is stateless and does not cache anything. * Users can provide their own B2WebApiClient implementation to build on their favorite web framework or to help with unit testing. THREAD-SAFETY: Instances must be as thread-safe as the B2WebApiClient it's given. if the B2WebApiClient is thread-safe, so is the webifier. If not, the webifier isn't.