|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jetty.http.AbstractGenerator
org.eclipse.jetty.nested.NestedGenerator
public class NestedGenerator
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jetty.http.AbstractGenerator |
|---|
_buffer, _buffers, _content, _contentLength, _contentWritten, _date, _endp, _head, _header, _last, _method, _noContent, _persistent, _reason, _state, _status, _uri, _version, NO_BYTES, STATE_CONTENT, STATE_END, STATE_FLUSHING, STATE_HEADER |
| Fields inherited from interface org.eclipse.jetty.http.Generator |
|---|
LAST, MORE |
| Constructor Summary | |
|---|---|
NestedGenerator(org.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.io.EndPoint io,
javax.servlet.http.HttpServletResponse response,
String nestedIn)
|
|
| Method Summary | |
|---|---|
void |
addContent(org.eclipse.jetty.io.Buffer content,
boolean last)
|
boolean |
addContent(byte b)
|
void |
complete()
Complete the message. |
void |
completeHeader(org.eclipse.jetty.http.HttpFields fields,
boolean allContentAdded)
|
int |
flushBuffer()
|
boolean |
isRequest()
|
boolean |
isResponse()
|
int |
prepareUncheckedAddContent()
|
| Methods inherited from class org.eclipse.jetty.http.AbstractGenerator |
|---|
blockForOutput, completeUncheckedAddContent, flush, getContentBufferSize, getContentWritten, getSendServerVersion, getState, getUncheckedBuffer, getVersion, increaseContentBufferSize, isAllContentWritten, isBufferFull, isCommitted, isComplete, isHead, isIdle, isOpen, isPersistent, isState, isWritten, reset, resetBuffer, returnBuffers, sendError, setContentLength, setDate, setHead, setPersistent, setRequest, setResponse, setSendServerVersion, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NestedGenerator(org.eclipse.jetty.io.Buffers buffers,
org.eclipse.jetty.io.EndPoint io,
javax.servlet.http.HttpServletResponse response,
String nestedIn)
| Method Detail |
|---|
public void addContent(org.eclipse.jetty.io.Buffer content,
boolean last)
throws IOException
IOException
public boolean addContent(byte b)
throws IOException
IOExceptionpublic boolean isRequest()
isRequest in class org.eclipse.jetty.http.AbstractGeneratorpublic boolean isResponse()
isResponse in class org.eclipse.jetty.http.AbstractGenerator
public int prepareUncheckedAddContent()
throws IOException
prepareUncheckedAddContent in class org.eclipse.jetty.http.AbstractGeneratorIOException
public void completeHeader(org.eclipse.jetty.http.HttpFields fields,
boolean allContentAdded)
throws IOException
completeHeader in interface org.eclipse.jetty.http.GeneratorcompleteHeader in class org.eclipse.jetty.http.AbstractGeneratorIOException
public void complete()
throws IOException
complete in interface org.eclipse.jetty.http.Generatorcomplete in class org.eclipse.jetty.http.AbstractGeneratorIOException
public int flushBuffer()
throws IOException
flushBuffer in interface org.eclipse.jetty.http.GeneratorflushBuffer in class org.eclipse.jetty.http.AbstractGeneratorIOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||