1 33 34 package com.icesoft.faces.env; 35 36 import java.io.IOException ; 37 import java.io.OutputStream ; 38 import java.io.PrintWriter ; 39 import java.util.Locale ; 40 41 47 public abstract class CommonEnvironmentResponse { 48 49 public abstract String getContentType(); 51 52 public abstract void setContentType(String type); 53 54 public abstract String getCharacterEncoding(); 55 56 public abstract PrintWriter getWriter() throws IOException ; 57 58 public abstract OutputStream getStream() throws IOException ; 59 60 public abstract Locale getLocale(); 61 62 public abstract void setBufferSize(int size); 63 64 public abstract int getBufferSize(); 65 66 public abstract void flushBuffer() throws IOException ; 67 68 public abstract void resetBuffer(); 69 70 public abstract boolean isCommitted(); 71 72 public abstract void reset(); 73 74 public abstract String encodeURL(String path); 75 76 } 77 | Popular Tags |