1 16 package org.apache.cocoon.environment.commandline; 17 18 import org.apache.cocoon.environment.Cookie; 19 import org.apache.cocoon.environment.Response; 20 21 import java.util.Locale ; 22 23 29 30 public class CommandLineResponse implements Response { 31 32 public String getCharacterEncoding() { return null; } 33 public Cookie createCookie(String name, String value) { return null; } 34 public void addCookie(Cookie cookie) {} 35 public boolean containsHeader(String name) { return false; } 36 public void setHeader(String name, String value) {} 37 public void setIntHeader(String name, int value) {} 38 public void setDateHeader(String name, long date) {} 39 public String encodeURL (String url) { return url; } 40 public void setLocale(Locale locale) { } 41 public Locale getLocale() { return null; } 42 public void addDateHeader(String name, long date) { } 43 public void addHeader(String name, String value) { } 44 public void addIntHeader(String name, int value) { } 45 } 46 | Popular Tags |