String http = "";//请求报文
String str = "";//请求报文中的某一行
public MyHttpServerletRequest(BufferedReader in){
try {
while((str=in.readLine()).length() > 0 ){
http += str+"\r\n";//拼接报文
}
} catch (Exception e) {
e.printStackTrace();
}
}
//获得客户端发来的请求报文
public String getHttp(){
return this.http;
}