diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f8c477..4b6cfa5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,11 +22,11 @@ jobs: mvn-install: strategy: matrix: - java: [17] + java: ['17', '21-ea'] os: [ubuntu-latest, windows-latest] include: - os: ubuntu-latest - java: 17 + java: '17' upload-dependency-graph: true run-sonarcloud: true run-coveralls: true diff --git a/README.md b/README.md index c296a2b..1907b15 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ The first step is to create a `TusFileUploadService` object using its constructo * `withUploadUri(String)`: Set the relative URL under which the main tus upload endpoint will be made available, for example `/files/upload`. Optionally, this URI may contain regex parameters in order to support endpoints that contain URL parameters, for example `/users/[0-9]+/files/upload`. * `withMaxUploadSize(Long)`: Specify the maximum number of bytes that can be uploaded per upload. If you don't call this method, the maximum number of bytes is `Long.MAX_VALUE`. * `withStoragePath(String)`: If you're using the default file system-based storage service, you can use this method to specify the path where to store the uploaded bytes and upload information. -* `withChunkedTransferDecoding`: You can enable or disable the decoding of chunked HTTP requests by this library. Enable this feature in case the web container in which this service is running does not decode chunked transfers itself. By default, chunked decoding via this library is disabled (as modern frameworks tend to already do this for you). +* `withChunkedTransferDecoding`: You can enable or disable the decoding of chunked HTTP requests by this library. Enable this feature in case the web container in which this service is running does not decode chunked transfers itself. **By default, chunked decoding via this library is disabled (as modern frameworks tend to already do this for you)**. * `withThreadLocalCache(Boolean)`: Optionally you can enable (or disable) an in-memory (thread local) cache of upload request data to reduce load on the storage backend and potentially increase performance when processing upload requests. * `withUploadExpirationPeriod(Long)`: You can set the number of milliseconds after which an upload is considered as expired and available for cleanup. * `withDownloadFeature()`: Enable the unofficial `download` extension that also allows you to download uploaded bytes.