public interface IResponse
| 限定符和类型 | 方法和说明 |
|---|---|
void |
send(Object o)
发送对象
|
void |
sendStream(InputStream inputStream)
发送流
|
void |
sendString(String s)
发送字符串
|
void |
sendString(String s,
String contentType)
发送字符串
|
void send(Object o) throws IOException
o - 对象IOExceptionvoid sendString(String s) throws IOException
s - 字符串IOExceptionvoid sendString(String s, String contentType) throws IOException
s - 字符串contentType - IOExceptionvoid sendStream(InputStream inputStream) throws IOException
inputStream - 输入流IOExceptionCopyright © 2018. All Rights Reserved.