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
| 从类 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.