blob: 1a6fe5c36260f4f1e094e91a4864cdcd33fe2c26 [file] [log] [blame]
/*
* Copyright 1999-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.cocoon.environment.mock;
import org.apache.cocoon.environment.Cookie;
public class MockCookie implements Cookie {
private String comment;
private String domain;
private int maxage;
private String path;
private boolean secure;
private String name;
private String value;
private int version;
public void setComment(String comment) {
this.comment = comment;
}
public String getComment() {
return comment;
}
public void setDomain(String domain) {
this.domain = domain;
}
public String getDomain() {
return domain;
}
public void setMaxAge(int maxage) {
this.maxage = maxage;
}
public int getMaxAge() {
return maxage;
}
public void setPath(String path) {
this.path = path;
}
public String getPath() {
return path;
}
public void setSecure(boolean secure) {
this.secure = secure;
}
public boolean getSecure() {
return secure;
}
public void setName(String name) {
this.name= name;
}
public String getName() {
return name;
}
public void setValue(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public int getVersion() {
return version;
}
public void setVersion(int version) {
this.version = version;
}
}