1 16 package org.apache.cocoon.environment; 17 18 import java.util.Locale ; 19 20 28 29 public interface Response { 30 31 46 47 String getCharacterEncoding(); 48 49 59 60 void setLocale(Locale loc); 61 62 69 70 Locale getLocale(); 71 72 100 Cookie createCookie(String name, String value); 101 102 109 110 void addCookie(Cookie cookie); 111 112 121 122 boolean containsHeader(String name); 123 124 141 142 String encodeURL(String url); 143 144 159 160 void setDateHeader(String name, long date); 161 162 174 175 void addDateHeader(String name, long date); 176 177 191 192 void setHeader(String name, String value); 193 194 203 204 void addHeader(String name, String value); 205 206 219 220 void setIntHeader(String name, int value); 221 222 232 233 void addIntHeader(String name, int value); 234 } 235 | Popular Tags |