com.litongjava.tio.boot.http.handler.DefaultHttpRequestConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tio-boot Show documentation
Show all versions of tio-boot Show documentation
Java High Performance Web Development Framework
package com.litongjava.tio.boot.http.handler;
public class DefaultHttpRequestConstants {
public static final String SESSION_RATE_LIMITER_KEY_SPLIT = "?";
/**
* 静态资源的CacheName
* key: path 譬如"/index.html"
* value: FileCache
*/
public static final String STATIC_RES_CONTENT_CACHENAME = "TIO_HTTP_STATIC_RES_CONTENT";
public static final String SESSION_RATE_LIMITER_CACHENAME = "TIO_HTTP_SESSIONRATELIMITER_CACHENAME";
/**
* 把cookie对象存到ChannelContext对象中
* request.channelContext.setAttribute(SESSION_COOKIE_KEY, sessionCookie);
*/
public static final String SESSION_COOKIE_KEY = "TIO_HTTP_SESSION_COOKIE";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy