Skip to content
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

Refactor and improvements to HttpContent Factories #8767

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
1353f16
Refactor for CachingContentFactory and ResourceService
lachlan-roberts Oct 11, 2022
a7383ea
only check file modified time once per second for cached files
lachlan-roberts Oct 11, 2022
6a6681a
fix stampede creating CachingHttpContent & remove usage of getPreComp…
lachlan-roberts Oct 12, 2022
9f86212
remove usage of HttpContent.getPreCompressedContentFormats for jetty-…
lachlan-roberts Oct 12, 2022
81f67f3
remove getPreCompressedContentFormats from HttpContent
lachlan-roberts Oct 12, 2022
6db4bf8
remove getPrecompressedContents from HttpContent and ee9 impl
lachlan-roberts Oct 12, 2022
affa747
use jetty-core ResourceContentFactory in ee9
lachlan-roberts Oct 12, 2022
6771db4
replace use of CachedContentFactory with CachingContentFactory
lachlan-roberts Oct 12, 2022
2d161bf
cleanups of HttpContentWrapper and ResourceService
lachlan-roberts Oct 13, 2022
57f71ce
extract the generation of getCompressedContentFormats to separate con…
lachlan-roberts Oct 13, 2022
64a5b07
cache more fields in CachingHttpContent
lachlan-roberts Oct 14, 2022
e910a8e
work in progress to improve CachingContentFactory
lachlan-roberts Oct 17, 2022
fbceb92
further work on CachingContentFactory
lachlan-roberts Oct 18, 2022
cccc16c
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Oct 18, 2022
bbd7ace
fix failing test cases for ResourceService and Etags
lachlan-roberts Oct 18, 2022
ad7ae3c
Rename all HttpContent factories
lachlan-roberts Oct 19, 2022
3c08931
cleanups of HttpContent factories
lachlan-roberts Oct 19, 2022
86da43a
improve configuration options for HttpContent.Factory
lachlan-roberts Oct 19, 2022
8768725
separate evicting logic from CachingHttpContentFactory
lachlan-roberts Oct 19, 2022
0e1bae4
use RetainableByteBuffer for getBuffer in HttpContent
lachlan-roberts Oct 20, 2022
98c6675
fix bugs in CachingHttpContentFactory, ResourceService and FileMapped…
lachlan-roberts Oct 21, 2022
964108f
ResourceHandlerTest should validate cache entry on every request
lachlan-roberts Oct 21, 2022
02e0a39
cannot add ContentFactory to servletContext attribute as there may be…
lachlan-roberts Oct 25, 2022
7752720
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Oct 25, 2022
af19607
use name annotation for EvictingCachingContentFactory constructors
lachlan-roberts Oct 26, 2022
e28a528
changes from review
lachlan-roberts Nov 2, 2022
6facedb
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Nov 2, 2022
ac2d54a
do not cache notFound entries in TryPathsHandlerTests ResourceHandler
lachlan-roberts Nov 2, 2022
c0bb027
fix release in CachingHttpContentFactory and always use ByteBufferPool
lachlan-roberts Nov 3, 2022
4ad42e3
add getBytesOccupied method to HttpContent
lachlan-roberts Nov 3, 2022
d94abe3
fix javadoc in ValidatingCachingContentFactory
lachlan-roberts Nov 3, 2022
7bb3fca
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Nov 3, 2022
489da47
changes from review
lachlan-roberts Nov 8, 2022
75f210d
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Nov 8, 2022
a4e773a
changes from review
lachlan-roberts Nov 9, 2022
5fec180
add getters and setters for HttpContentFactory onto ResourceHandler
lachlan-roberts Nov 9, 2022
890d025
use double checked locking for FileMappedHttpContent
lachlan-roberts Nov 9, 2022
3d96b4b
fix javadoc
lachlan-roberts Nov 9, 2022
387d380
fixes to the CachingHttpContentFactory caching algorithm
lachlan-roberts Nov 9, 2022
24ce284
add return to BufferUtil.readFrom javadoc
lachlan-roberts Nov 9, 2022
1c6d36e
changes from review
lachlan-roberts Nov 10, 2022
eeb4df9
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-…
lachlan-roberts Nov 10, 2022
1266581
remove setter for HttpContentFactory on ResourceHandler
lachlan-roberts Nov 10, 2022
905568a
fix to ResourceHandler for ResourceHandlerTest.testDirectoryOfCollect…
lachlan-roberts Nov 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Loading