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 java.lang.Object implements HttpInput.Interceptor, Destroyable
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.AnHttpInput.Interceptor
that chains two otherHttpInput.Interceptor
s together. TheHttpInput.Interceptor.readFrom(Content)
calls the previousHttpInput.Interceptor
'sHttpInput.Interceptor.readFrom(Content)
and then passes anyHttpInput.Content
returned to the nextHttpInput.Interceptor
.
-
-
Constructor Summary
Constructors Constructor Description ChainedInterceptor(HttpInput.Interceptor prev, HttpInput.Interceptor next)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
destroy()
Deprecated.HttpInput.Interceptor
getNext()
Deprecated.HttpInput.Interceptor
getPrev()
Deprecated.HttpInput.Content
readFrom(HttpInput.Content content)
Deprecated.
-
-
-
Constructor Detail
-
ChainedInterceptor
public ChainedInterceptor(HttpInput.Interceptor prev, HttpInput.Interceptor next)
Deprecated.
-
-
Method Detail
-
getPrev
public HttpInput.Interceptor getPrev()
Deprecated.
-
getNext
public HttpInput.Interceptor getNext()
Deprecated.
-
readFrom
public HttpInput.Content readFrom(HttpInput.Content content)
Deprecated.- Specified by:
readFrom
in 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:
destroy
in interfaceDestroyable
-
-