Package org.apache.cxf.jaxrs.nio
Class NioReadListenerImpl
- java.lang.Object
-
- org.apache.cxf.jaxrs.nio.NioReadListenerImpl
-
- All Implemented Interfaces:
EventListener
,javax.servlet.ReadListener
public final class NioReadListenerImpl extends Object implements javax.servlet.ReadListener
-
-
Constructor Summary
Constructors Constructor Description NioReadListenerImpl(NioReadEntity entity, javax.servlet.ServletInputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onAllDataRead()
void
onDataAvailable()
void
onError(Throwable t)
-
-
-
Constructor Detail
-
NioReadListenerImpl
public NioReadListenerImpl(NioReadEntity entity, javax.servlet.ServletInputStream in)
-
-
Method Detail
-
onDataAvailable
public void onDataAvailable() throws IOException
- Specified by:
onDataAvailable
in interfacejavax.servlet.ReadListener
- Throws:
IOException
-
onAllDataRead
public void onAllDataRead() throws IOException
- Specified by:
onAllDataRead
in interfacejavax.servlet.ReadListener
- Throws:
IOException
-
onError
public void onError(Throwable t)
- Specified by:
onError
in interfacejavax.servlet.ReadListener
-
-