org.eclipse.jetty.server
类 AbstractHttpConnection.Output

java.lang.Object
  继承者 java.io.OutputStream
      继承者 javax.servlet.ServletOutputStream
          继承者 org.eclipse.jetty.server.HttpOutput
              继承者 org.eclipse.jetty.server.AbstractHttpConnection.Output
所有已实现的接口:
Closeable, Flushable
包容类:
AbstractHttpConnection

public class AbstractHttpConnection.Output
extends HttpOutput


字段摘要
 
从类 org.eclipse.jetty.server.HttpOutput 继承的字段
_connection, _generator
 
方法摘要
 void close()
           
 void flush()
           
 void print(String s)
          Writes a String to the client, without a carriage return-line feed (CRLF) character at the end.
 void sendContent(Object content)
           
 void sendResponse(Buffer response)
           
 
从类 org.eclipse.jetty.server.HttpOutput 继承的方法
getMaxIdleTime, isClosed, isWritten, reopen, write, write, write
 
从类 javax.servlet.ServletOutputStream 继承的方法
print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

close

public void close()
           throws IOException
指定者:
接口 Closeable 中的 close
覆盖:
HttpOutput 中的 close
抛出:
IOException

flush

public void flush()
           throws IOException
指定者:
接口 Flushable 中的 flush
覆盖:
HttpOutput 中的 flush
抛出:
IOException

print

public void print(String s)
           throws IOException
从类 ServletOutputStream 复制的描述
Writes a String to the client, without a carriage return-line feed (CRLF) character at the end.

覆盖:
HttpOutput 中的 print
参数:
s - the String to send to the client
抛出:
IOException - if an input or output exception occurred

sendResponse

public void sendResponse(Buffer response)
                  throws IOException
抛出:
IOException

sendContent

public void sendContent(Object content)
                 throws IOException
抛出:
IOException


Copyright © 2013. All Rights Reserved.