Class SimpleHttpServerCookie

java.lang.Object
org.wildfly.security.http.util.SimpleHttpServerCookie
All Implemented Interfaces:
org.wildfly.security.http.HttpServerCookie

public class SimpleHttpServerCookie extends Object implements org.wildfly.security.http.HttpServerCookie
A simple implementation of HttpServerCookie.
Author:
Darran Lofthouse
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface org.wildfly.security.http.HttpServerCookie
    • getValue

      public String getValue()
      Specified by:
      getValue in interface org.wildfly.security.http.HttpServerCookie
    • getDomain

      public String getDomain()
      Specified by:
      getDomain in interface org.wildfly.security.http.HttpServerCookie
    • getMaxAge

      public int getMaxAge()
      Specified by:
      getMaxAge in interface org.wildfly.security.http.HttpServerCookie
    • getPath

      public String getPath()
      Specified by:
      getPath in interface org.wildfly.security.http.HttpServerCookie
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface org.wildfly.security.http.HttpServerCookie
    • getVersion

      public int getVersion()
      Specified by:
      getVersion in interface org.wildfly.security.http.HttpServerCookie
    • isHttpOnly

      public boolean isHttpOnly()
      Specified by:
      isHttpOnly in interface org.wildfly.security.http.HttpServerCookie
    • newInstance

      public static org.wildfly.security.http.HttpServerCookie newInstance(String name, String value, String domain, int maxAge, String path, boolean secure, int version, boolean httpOnly)