-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reworking jetty-compression for JPMS #12531
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also move to internal
:
- oejc.server.CompressionResponse
- oejc.server.DecompressionRequest
Please also have a run across all the modules to fix simple warnings such as fields not used (e.g. CompressionResponse.LOG
), fields that can be final
, parameters not used (e.g. DecompressionRequest
constructor), GzipCompression
, etc.
jetty-core/jetty-compression/jetty-compression-brotli/src/main/java/module-info.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-compression/jetty-compression-zstandard/src/main/java/module-info.java
Outdated
Show resolved
Hide resolved
…mpression-module-info
...zip/src/main/java/org/eclipse/jetty/compression/gzip/internal/ConfiguredGzipInputStream.java
Outdated
Show resolved
Hide resolved
...-brotli/src/main/java/org/eclipse/jetty/compression/brotli/internal/BrotliDecoderSource.java
Outdated
Show resolved
Hide resolved
jetty-core/jetty-compression/jetty-compression-api/src/main/java/module-info.java
Outdated
Show resolved
Hide resolved
...mpression/jetty-compression-api/src/main/java/org/eclipse/jetty/compression/Compression.java
Show resolved
Hide resolved
...mpression/jetty-compression-api/src/main/java/org/eclipse/jetty/compression/EncoderSink.java
Show resolved
Hide resolved
jetty-core/jetty-compression/jetty-compression-server/src/main/java/module-info.java
Show resolved
Hide resolved
...compression-server/src/main/java/org/eclipse/jetty/compression/server/CompressionConfig.java
Show resolved
Hide resolved
...ompression-server/src/main/java/org/eclipse/jetty/compression/server/CompressionHandler.java
Show resolved
Hide resolved
...server/src/main/java/org/eclipse/jetty/compression/server/internal/DecompressionRequest.java
Outdated
Show resolved
Hide resolved
...ard/src/main/java/org/eclipse/jetty/compression/zstandard/internal/ZstandardEncoderSink.java
Show resolved
Hide resolved
Please also change all |
...re/jetty-compression/jetty-compression-brotli/src/main/config/modules/compression-brotli.mod
Outdated
Show resolved
Hide resolved
...re/jetty-compression/jetty-compression-common/src/main/config/modules/compression-common.mod
Outdated
Show resolved
Hide resolved
...compression-server/src/main/java/org/eclipse/jetty/compression/server/CompressionConfig.java
Outdated
Show resolved
Hide resolved
...re/jetty-compression/jetty-compression-brotli/src/main/config/modules/compression-brotli.mod
Outdated
Show resolved
Hide resolved
@@ -178,7 +178,7 @@ public Set<String> getCompressIncludeMimeTypes() | |||
* @see #getCompressExcludePaths() | |||
*/ | |||
@ManagedAttribute("Set of Response Compression Path Exclusions") | |||
public Set<String> getCompressPathIncludes() | |||
public Set<String> getCompressIncludesPath() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename to getCompressIncludesPaths()
, plural like the others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doh! bad plural. :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix @ManagedAttribute
typos.
…mpression-module-info
A quick reworking of jetty-compression for JPMS.