All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.servlet.http.Cookie Maven / Gradle / Ivy

Go to download

Find Security Bugs stub dependencies use for the samples. This module create facades for all the APIs (classes, interfaces and annotations) that are use in the test code. The objective is to avoid the needed to download all the framework supported by the static analyzer.

The newest version!
package javax.servlet.http;

public class Cookie {

    private String name;
    private String value;
    private String path;
    private int maxAge;
    private String domain;
    private int version;
    private boolean secure;
    private boolean httpOnly;

    public Cookie(String name, String value) {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(int maxAge) {
        this.maxAge = maxAge;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public boolean getSecure() {
        return secure;
    }

    public void setSecure(boolean secure) {
        this.secure = secure;
    }

    public boolean isSecure() {
        return secure;
    }

    public boolean isHttpOnly() {
        return httpOnly;
    }

    public void setHttpOnly(boolean httpOnly) {
        this.httpOnly = httpOnly;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy