Package org.hertsstack.http
Interface HertsHttpRequest
-
public interface HertsHttpRequest
Herts http request
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuthType()
Get header auth typeorg.hertsstack.http.HertsHttpRequestImpl.Cookie[]
getCookies()
Get Cookiesjava.lang.String
getHeader(java.lang.String headerName)
Get Header valuejava.lang.String
getLocalAddr()
Get local addressjava.lang.String
getRemoteAddr()
Get remote addressjavax.servlet.ServletRequest
getRequest()
Get ServletRequest.
-
-
-
Method Detail
-
getRequest
javax.servlet.ServletRequest getRequest()
Get ServletRequest. Depends on jakarta.servlet.ServletRequest- Returns:
- jakarta.servlet.ServletRequest
-
getHeader
@Nullable java.lang.String getHeader(java.lang.String headerName)
Get Header value- Parameters:
headerName
- Header name- Returns:
- Value
-
getRemoteAddr
java.lang.String getRemoteAddr()
Get remote address- Returns:
- Remote address
-
getLocalAddr
java.lang.String getLocalAddr()
Get local address- Returns:
- Local address
-
getAuthType
java.lang.String getAuthType()
Get header auth type- Returns:
- Auth Type
-
getCookies
org.hertsstack.http.HertsHttpRequestImpl.Cookie[] getCookies()
Get Cookies- Returns:
- Cookies
-
-