class RequestCookie {

    private RequestCookie(String name, String value) {
        if (name == null || name.isEmpty()) {
            throw new IllegalArgumentException("name cannot be null or empty");
        }

        requireNonNull(value, "value cannot be null");

        this.name = name;
        this.value = value;
        this.hashCode = Objects.hash(name, value);
    }

    private  RequestCookie(String name, String value);

}