public class JettyResponse extends ServletServletResponse implements org.eclipse.jetty.util.Callback
req, rsp| Constructor and Description |
|---|
JettyResponse(ServletServletRequest nreq,
javax.servlet.http.HttpServletResponse rsp) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
void |
end() |
void |
failed(Throwable cause) |
void |
send(byte[] bytes) |
void |
send(ByteBuffer buffer) |
void |
send(FileChannel channel) |
void |
send(InputStream stream) |
void |
succeeded() |
committed, header, header, header, headers, reset, statusCode, statusCodepublic JettyResponse(ServletServletRequest nreq, javax.servlet.http.HttpServletResponse rsp)
public void send(byte[] bytes)
throws Exception
send in interface org.jooby.spi.NativeResponsesend in class ServletServletResponseExceptionpublic void send(ByteBuffer buffer) throws Exception
send in interface org.jooby.spi.NativeResponsesend in class ServletServletResponseExceptionpublic void send(InputStream stream) throws Exception
send in interface org.jooby.spi.NativeResponsesend in class ServletServletResponseExceptionpublic void send(FileChannel channel) throws Exception
send in interface org.jooby.spi.NativeResponsesend in class ServletServletResponseExceptionpublic void succeeded()
succeeded in interface org.eclipse.jetty.util.Callbackpublic void failed(Throwable cause)
failed in interface org.eclipse.jetty.util.Callbackpublic void end()
end in interface org.jooby.spi.NativeResponseend in class ServletServletResponseprotected void close()
close in class ServletServletResponseCopyright © 2015. All rights reserved.