public class DefaultSocketRpcResponse extends AbstractSocketRpcResponse
socketDEFAULT_MSG_404, DEFAULT_MSG_500, MAGIC, TYPE_BODY, TYPE_END, TYPE_FILE_DATA, TYPE_FILE_NAME, TYPE_FILE_SIZE, TYPE_JSON, TYPE_LOCALE, TYPE_PARAM_NAME, TYPE_PARAM_VALUE, TYPE_PATH| 构造器和说明 |
|---|
DefaultSocketRpcResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
send(Object o) |
void |
sendStream(InputStream inputStream) |
void |
sendStream(InputStream in,
String name,
long size) |
void |
sendStream(com.nlf.extend.web.view.StreamView streamView) |
void |
sendString(String s) |
void |
sendString(String s,
String contentType) |
getSocket, setSocketpublic void send(Object o) throws IOException
send 在接口中 com.nlf.core.IResponsesend 在类中 com.nlf.core.AbstractResponseIOExceptionpublic void sendString(String s) throws IOException
IOExceptionpublic void sendString(String s, String contentType) throws IOException
IOExceptionpublic void sendStream(InputStream inputStream) throws IOException
IOExceptionpublic void sendStream(InputStream in, String name, long size) throws IOException
IOExceptionpublic void sendStream(com.nlf.extend.web.view.StreamView streamView)
throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.