jetty / jetty/jetty.project

Remove usages of `ByteBufferCallbackAccumulator`

Open
#11,952 4 comments 0 reactions 0 assignees View on GitHub
Enhancement
Dominant language
Java
Stars
4.1k
Forks
2k
Avg merge
3d 56m
Merged PRs (30d)
48

Description

**Jetty version(s)**
12.1.x

**Enhancement Description**
`ByteBufferCallbackAccumulator` has been deprecated but there still are places where we use it. We should replace all those usages with `RetainableByteBuffer.DynamicCapacity` and eventually remove this class.

See: #11801

Contributor guide

Open the contributing guide

Research direction

Start by reviewing issue #11801 and searching the Jetty 12.1.x codebase for usages of ByteBufferCallbackAccumulator. Replace each usage with RetainableByteBuffer.DynamicCapacity, then verify that no usages remain and that ByteBufferCallbackAccumulator can be removed. The payload names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.