Package | Description |
---|---|
org.voovan.http.client | |
org.voovan.http.message | |
org.voovan.http.message.packet | |
org.voovan.http.server |
Modifier and Type | Method and Description |
---|---|
List<Cookie> |
HttpClient.getCookies()
获取Cookie集合
|
Modifier and Type | Method and Description |
---|---|
Cookie |
Response.getCookie(String name)
根据 Cookie 名称取 Cookie
|
Cookie |
Request.getCookie(String name)
根据 Cookie 名称取 Cookie
|
Modifier and Type | Method and Description |
---|---|
List<Cookie> |
Response.cookies()
获取所有的Cookies对象,返回一个 List
|
List<Cookie> |
Request.cookies()
获取所有的Cookies对象,返回一个 List
|
Modifier and Type | Method and Description |
---|---|
static void |
HttpParser.parseCookie(List<Cookie> cookies,
int cookieType,
String cookieValue)
处理消息的Cookie
|
Modifier and Type | Method and Description |
---|---|
static Cookie |
Cookie.buildCookie(Map<String,String> cookieMap)
通过 Map 构建一个 Cookie 对象
|
static Cookie |
Cookie.newInstance(Request request,
String name,
String value)
创建一个 Cookie
|
static Cookie |
Cookie.newInstance(Request request,
String path,
String name,
String value)
创建一个 Cookie
|
static Cookie |
Cookie.newInstance(Request request,
String path,
String name,
String value,
int maxAge,
boolean isHttpOnly)
创建一个 Cookie
|
static Cookie |
Cookie.newInstance(String domain,
String path,
String name,
String value,
int maxAge,
boolean isHttpOnly)
创建一个 Cookie
|
Modifier and Type | Method and Description |
---|---|
boolean |
SessionManager.containsSession(Cookie cookie)
判断 Session 是否存在
|
HttpSession |
SessionManager.getSession(Cookie cookie)
获取 Session
|
Copyright © 2020 Voovan. All rights reserved.