robotresponse.java

来自「MSN机器人源码」· Java 代码 · 共 42 行

JAVA
42
字号
package com.msnrobotweb.http;import org.simpleframework.http.Response;/** * 机器人请求的包装类 * @author bm888888@gmail.com * */public class RobotResponse {    Response response;      public RobotResponse(Response response) {        this.response = response;  }  /**   * @return the request   */  public Response getresponse() {    return response;  }  public void print(String string) throws Exception {    response.getPrintStream().print(string);      }    public void println(String string) throws Exception {    response.getPrintStream().println(string);  }      }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?