org.eclipse.jetty.nested
类 NestedGenerator
java.lang.Object
org.eclipse.jetty.http.AbstractGenerator
org.eclipse.jetty.nested.NestedGenerator
- 所有已实现的接口:
- Generator
public class NestedGenerator
- extends AbstractGenerator
| 从类 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 |
| 从类 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 |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NestedGenerator
public NestedGenerator(Buffers buffers,
EndPoint io,
HttpServletResponse response,
String nestedIn)
addContent
public void addContent(Buffer content,
boolean last)
throws IOException
- 从接口
Generator 复制的描述
- Add content.
- 抛出:
IOException - if there is a problem flushing the buffers.
addContent
public boolean addContent(byte b)
throws IOException
- 抛出:
IOException
isRequest
public boolean isRequest()
- 指定者:
- 类
AbstractGenerator 中的 isRequest
isResponse
public boolean isResponse()
- 指定者:
- 类
AbstractGenerator 中的 isResponse
prepareUncheckedAddContent
public int prepareUncheckedAddContent()
throws IOException
- 从类
AbstractGenerator 复制的描述
- Prepare buffer for unchecked writes.
Prepare the generator buffer to receive unchecked writes
- 指定者:
- 类
AbstractGenerator 中的 prepareUncheckedAddContent
- 返回:
- the available space in the buffer.
- 抛出:
IOException
completeHeader
public void completeHeader(HttpFields fields,
boolean allContentAdded)
throws IOException
- 指定者:
- 接口
Generator 中的 completeHeader - 指定者:
- 类
AbstractGenerator 中的 completeHeader
- 抛出:
IOException
complete
public void complete()
throws IOException
- Complete the message.
- 指定者:
- 接口
Generator 中的 complete - 覆盖:
- 类
AbstractGenerator 中的 complete
- 抛出:
IOException
flushBuffer
public int flushBuffer()
throws IOException
- 指定者:
- 接口
Generator 中的 flushBuffer - 指定者:
- 类
AbstractGenerator 中的 flushBuffer
- 抛出:
IOException
Copyright © 2013. All Rights Reserved.