类 CodeHttpUtils
java.lang.Object
cloud.opencode.base.util.CodeHttpUtils
- 版本:
- v1.0.0
- 作者:
- Jon So, e-mail: ijonso123@gmail.com url: Jon's blog url: project github
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static StringgetCurrentUrl(jakarta.servlet.http.HttpServletRequest request) get current urlstatic Stringget http requet domainstatic jakarta.servlet.http.HttpServletRequestget HttpServletRequeststatic Stringget http request origin
-
构造器详细资料
-
CodeHttpUtils
private CodeHttpUtils()
-
-
方法详细资料
-
getHttpServletRequest
public static jakarta.servlet.http.HttpServletRequest getHttpServletRequest()get HttpServletRequest- 返回:
- request
-
getDomain
get http requet domain- 返回:
- string
-
getOrigin
get http request origin- 返回:
- string
-
getCurrentUrl
get current url- 参数:
request-- 返回:
- url
-