Package org.eclipse.jetty.server
Class HttpInput.ChainedInterceptor
java.lang.Object
org.eclipse.jetty.server.HttpInput.ChainedInterceptor
- All Implemented Interfaces:
HttpInput.Interceptor,Destroyable
- Enclosing class:
HttpInput
@Deprecated(since="2021-05-27")
public static class HttpInput.ChainedInterceptor
extends Object
implements HttpInput.Interceptor, Destroyable
Deprecated.
The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
An
HttpInput.Interceptor that chains two other HttpInput.Interceptors together.
The HttpInput.Interceptor.readFrom(Content) calls the previous HttpInput.Interceptor's
HttpInput.Interceptor.readFrom(Content) and then passes any HttpInput.Content returned
to the next HttpInput.Interceptor.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Deprecated.getNext()Deprecated.getPrev()Deprecated.readFrom(HttpInput.Content content) Deprecated.
-
Constructor Details
-
ChainedInterceptor
Deprecated.
-
-
Method Details
-
getPrev
Deprecated. -
getNext
Deprecated. -
readFrom
Deprecated.- Specified by:
readFromin interfaceHttpInput.Interceptor- Parameters:
content- The content to be intercepted (may be empty or aHttpInput.SentinelContent. The content will be modified with any data the interceptor consumes, but there is no requirement that all the data is consumed by the interceptor.- Returns:
- The intercepted content or null if interception is completed for that content.
-
destroy
public void destroy()Deprecated.- Specified by:
destroyin interfaceDestroyable
-