限定符和类型 | 类和说明 |
---|---|
static class |
Dumps.HTTP.MODE |
构造器和说明 |
---|
HTTP() |
限定符和类型 | 方法和说明 |
---|---|
static String |
all(javax.servlet.http.HttpServletRequest req) |
static void |
all(javax.servlet.http.HttpServletRequest req,
OutputStream ops) |
static String |
body(javax.servlet.http.HttpServletRequest req) |
static void |
body(javax.servlet.http.HttpServletRequest req,
OutputStream ops) |
static String |
header(javax.servlet.http.HttpServletRequest req) |
static void |
header(javax.servlet.http.HttpServletRequest req,
OutputStream ops) |
static String |
http(javax.servlet.http.HttpServletRequest req,
Dumps.HTTP.MODE mode)
详细显示一个 HTTP 请求的全部内容
|
static void |
http(javax.servlet.http.HttpServletRequest req,
OutputStream ops,
Dumps.HTTP.MODE mode)
详细显示一个 HTTP 请求的全部内容
|
public static void http(javax.servlet.http.HttpServletRequest req, OutputStream ops, Dumps.HTTP.MODE mode)
req
- 请求对象ops
- 内容的输出流mode
- 显示 HTTP 头信息的模式: MODE.ALL or MODE.HEADER_ONLYpublic static String http(javax.servlet.http.HttpServletRequest req, Dumps.HTTP.MODE mode)
req
- 请求对象mode
- 显示 HTTP 头信息的模式: MODE.ALL or MODE.HEADER_ONLYpublic static void body(javax.servlet.http.HttpServletRequest req, OutputStream ops)
public static String body(javax.servlet.http.HttpServletRequest req)
public static void header(javax.servlet.http.HttpServletRequest req, OutputStream ops)
public static String header(javax.servlet.http.HttpServletRequest req)
public static void all(javax.servlet.http.HttpServletRequest req, OutputStream ops)
public static String all(javax.servlet.http.HttpServletRequest req)
Copyright © 2017. All rights reserved.