1 package com.teamkonzept.web; 2 3 import java.io.*; 4 import javax.servlet.http.*; 5 6 import com.teamkonzept.lib.*; 7 8 61 62 public interface TKHttpInterface { 63 68 void setStatus( int code, String msg ); 69 70 75 void addHeader( String name, String value ); 76 77 78 HttpSession getSession(boolean create); 79 80 81 HttpSession getSession(); 82 83 86 OutputStream getOutputStream(); 87 88 92 OutputStream getLogStream(); 93 94 97 String getOwnName(); 98 99 102 String getOwnURL(); 103 104 105 String getAbsoluteURL(); 106 107 110 String getContextPath(); 111 112 115 String getOwnPath(); 116 117 120 String getDocumentRoot(); 121 122 125 String getServerName(); 126 127 130 String getRemoteUser(); 131 132 137 TKHashtable getParams(); 138 139 143 TKHashtable getHeaders(); 144 145 151 TKHashtable getEnvironment(); 152 153 159 String getPathInfo(); 160 161 165 String getPathTranslated(); 166 167 170 Cookie[] getCookies(); 171 172 175 void addCookie( final Cookie cookie ); 176 177 182 void addDateHeader( final String name, final long value ); 183 } 184 185 | Popular Tags |