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 voidonAllDataRead()voidonDataAvailable()voidonError(Throwable t)
-
-
-
Constructor Detail
-
NioReadListenerImpl
public NioReadListenerImpl(NioReadEntity entity, javax.servlet.ServletInputStream in)
-
-
Method Detail
-
onDataAvailable
public void onDataAvailable() throws IOException- Specified by:
onDataAvailablein interfacejavax.servlet.ReadListener- Throws:
IOException
-
onAllDataRead
public void onAllDataRead() throws IOException- Specified by:
onAllDataReadin interfacejavax.servlet.ReadListener- Throws:
IOException
-
onError
public void onError(Throwable t)
- Specified by:
onErrorin interfacejavax.servlet.ReadListener
-
-