public class DefaultHttpRpcResponse extends AbstractHttpRpcResponse
exchangeKEY_CORS_ALLOW_CREDENTIALS, KEY_CORS_ALLOW_HEADERS, KEY_CORS_ALLOW_METHODS, KEY_CORS_ALLOW_ORIGIN, KEY_CORS_ENABLE, KEY_CORS_MAX_AGE| 构造器和说明 |
|---|
DefaultHttpRpcResponse() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
send(Object o) |
void |
sendStream(InputStream inputStream) |
protected void |
sendStream(InputStream inputStream,
String contentType) |
void |
sendStream(com.nlf.extend.web.view.StreamView streamView) |
void |
sendString(String s) |
void |
sendString(String s,
String contentType) |
getHttpExchange, setHttpExchangepublic 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(com.nlf.extend.web.view.StreamView streamView)
throws IOException
IOExceptionprotected void sendStream(InputStream inputStream, String contentType) throws IOException
IOExceptionpublic void sendStream(InputStream inputStream) throws IOException
IOExceptionCopyright © 2020. All Rights Reserved.