1 package org.apache.turbine.services.servlet; 2 3 18 19 import java.io.InputStream ; 20 import java.net.URL ; 21 import javax.servlet.ServletConfig ; 22 import javax.servlet.ServletContext ; 23 24 import org.apache.turbine.services.Service; 25 26 35 public interface ServletService extends Service 36 { 37 40 String SERVICE_NAME = "ServletService"; 41 42 49 URL getResource(String uri); 50 51 57 InputStream getResourceAsStream(String uri); 58 59 66 String getRealPath(String uri); 67 68 74 ServletConfig getServletConfig(); 75 76 82 ServletContext getServletContext(); 83 84 91 String getServerScheme(); 92 93 100 String getServerName(); 101 102 109 String getServerPort(); 110 111 117 String getContextPath(); 118 } 119 | Popular Tags |