ihttpresponse.java
来自「OpenMap是一个基于JavaBeansTM的开发工具包。利用OpenMap你」· Java 代码 · 共 29 行
JAVA
29 行
package com.bbn.openmap.layer.util.http;
import java.io.IOException;
/**
*/
public interface IHttpResponse {
/**
* Write a String response to the OutputStream.
*
* @param out the OutputStream of the response.
* @param contentType the content type of the response.
* @param response the string containing the response.
*/
public void writeHttpResponse(String contentType,String response) throws IOException;
/**
* Write a byte[] response to the OutputStream.
*
* @param out the OutputStream of the response.
* @param contentType the content type of the response.
* @param response the byte array containing the response.
*/
public void writeHttpResponse(String contentType, byte[] response) throws IOException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?