Merge branch '6.1.x'
This commit is contained in:
commit
c3991392df
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
@ -303,7 +303,16 @@ public class JettyWebSocketHandlerAdapter implements Session.Listener {
|
|||
}
|
||||
|
||||
|
||||
private record JettyByteBufferIterator(ByteBufferIterator delegate) implements ByteBufferIterator {
|
||||
private static class JettyByteBufferIterator implements ByteBufferIterator {
|
||||
|
||||
private final ByteBufferIterator delegate;
|
||||
|
||||
|
||||
JettyByteBufferIterator(ByteBufferIterator delegate) {
|
||||
Assert.notNull(delegate, "Delegate must not be null");
|
||||
|
||||
this.delegate = delegate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() {
|
||||
|
|
Loading…
Reference in New Issue