@Deprecated public class HttpUtilResponse extends Object
program Sinlmao Commons Network Utils
description HTTP Response类
create 2019-08-01 11:11
| 限定符 | 构造器和说明 |
|---|---|
protected |
HttpUtilResponse()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addCookie(String name,
String data)
已过时。
|
void |
get(byte[] bytesContent)
已过时。
|
byte[] |
getBytesContent()
已过时。
|
String |
getCookieData(String name)
已过时。
|
Set<String> |
getCookieNames()
已过时。
|
int |
getCookieSize()
已过时。
|
String |
getCookieStr()
已过时。
|
List<String> |
getHeaderData(String name)
已过时。
|
Set<String> |
getHeaderNames()
已过时。
|
int |
getHeaderSize()
已过时。
|
int |
getResponseCode()
已过时。
|
String |
getStringContent()
已过时。
|
void |
setBytesContent(byte[] bytesContent)
已过时。
|
void |
setCookie(String data)
已过时。
|
void |
setHeaders(Map<String,List<String>> headers)
已过时。
|
void |
setResponseCode(int responseCode)
已过时。
|
void |
setStringContent(String stringContent)
已过时。
|
public int getResponseCode()
public void setResponseCode(int responseCode)
public String getStringContent()
public void setStringContent(String stringContent)
public byte[] getBytesContent()
public void setBytesContent(byte[] bytesContent)
public void get(byte[] bytesContent)
public void setCookie(String data)
public String getCookieStr()
public int getCookieSize()
public int getHeaderSize()
Copyright © 2020. All rights reserved.