public static class MimeEntity.Parser extends Object implements net.lecousin.framework.concurrent.util.AsyncConsumerOutput<ByteBuffer,MimeEntity,IOException>
| Constructor and Description |
|---|
Parser(MimeEntityFactory entityFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
net.lecousin.framework.concurrent.async.IAsync<IOException> |
consume(ByteBuffer data) |
protected net.lecousin.framework.concurrent.async.AsyncSupplier<Boolean,IOException> |
consumeBody(ByteBuffer data) |
net.lecousin.framework.concurrent.async.IAsync<IOException> |
end() |
protected void |
endOfHeaders() |
void |
error(IOException error) |
net.lecousin.framework.concurrent.async.AsyncSupplier<MimeEntity,IOException> |
getOutput() |
public Parser(MimeEntityFactory entityFactory)
public net.lecousin.framework.concurrent.async.AsyncSupplier<MimeEntity,IOException> getOutput()
getOutput in interface net.lecousin.framework.concurrent.util.AsyncConsumerOutput<ByteBuffer,MimeEntity,IOException>public net.lecousin.framework.concurrent.async.IAsync<IOException> consume(ByteBuffer data)
consume in interface net.lecousin.framework.concurrent.util.AsyncConsumer<ByteBuffer,IOException>protected void endOfHeaders()
throws IOException
IOExceptionprotected net.lecousin.framework.concurrent.async.AsyncSupplier<Boolean,IOException> consumeBody(ByteBuffer data)
public net.lecousin.framework.concurrent.async.IAsync<IOException> end()
end in interface net.lecousin.framework.concurrent.util.AsyncConsumer<ByteBuffer,IOException>public void error(IOException error)
error in interface net.lecousin.framework.concurrent.util.AsyncConsumer<ByteBuffer,IOException>Copyright © 2020. All rights reserved.