Class AbstractAsyncResource

java.lang.Object
io.inverno.mod.base.resource.AbstractResource
io.inverno.mod.base.resource.AbstractAsyncResource
All Implemented Interfaces:
AsyncResource, Resource, AutoCloseable
Direct Known Subclasses:
ClasspathResource, FileResource, ModuleResource, NativeResource, PathResource, URLResource, ZipResource

public abstract class AbstractAsyncResource extends AbstractResource implements AsyncResource

Base implementation for AsyncResource.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Field Details

    • DEFAULT_READ_BUFFER_CAPACITY

      public static final int DEFAULT_READ_BUFFER_CAPACITY
      The default read buffer capacity.
      See Also:
  • Constructor Details

    • AbstractAsyncResource

      public AbstractAsyncResource()

      Creates an asnc resource.

    • AbstractAsyncResource

      protected AbstractAsyncResource(MediaTypeService mediaTypeService)

      Creates an async resource with the specified media type service.

      Parameters:
      mediaTypeService - a media type service
  • Method Details