private class ServletServerHttpRequest.RequestBodyPublisher extends AbstractListenerReadPublisher<DataBuffer>
Modifier and Type | Class and Description |
---|---|
private class |
ServletServerHttpRequest.RequestBodyPublisher.RequestBodyPublisherReadListener |
Modifier and Type | Field and Description |
---|---|
private ServletInputStream |
inputStream |
logger
Constructor and Description |
---|
RequestBodyPublisher(ServletInputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkOnDataAvailable() |
protected DataBuffer |
read()
Reads a data from the input, if possible.
|
void |
registerReadListener() |
onAllDataRead, onDataAvailable, onError, subscribe
public void registerReadListener() throws java.io.IOException
java.io.IOException
protected void checkOnDataAvailable()
checkOnDataAvailable
in class AbstractListenerReadPublisher<DataBuffer>
protected DataBuffer read() throws java.io.IOException
AbstractListenerReadPublisher
read
in class AbstractListenerReadPublisher<DataBuffer>
null
java.io.IOException