Interface HertsHttpRequest


  • public interface HertsHttpRequest
    Herts http request
    • 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