public class JettyResponse extends ServletServletResponse implements org.eclipse.jetty.util.Callback
rsp| Constructor and Description |
|---|
JettyResponse(org.eclipse.jetty.server.Request req,
javax.servlet.http.HttpServletResponse rsp) |
| Modifier and Type | Method and Description |
|---|---|
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(org.eclipse.jetty.server.Request req,
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 ServletServletResponseCopyright © 2015. All rights reserved.