1 package org.apache.turbine.services.jsp; 2 3 18 19 import org.apache.turbine.services.Service; 20 21 import org.apache.turbine.util.RunData; 22 import org.apache.turbine.util.TurbineException; 23 24 25 31 public interface JspService 32 extends Service 33 { 34 35 String SERVICE_NAME = "JspService"; 36 37 38 String RUNDATA = "rundata"; 39 40 41 String LINK = "link"; 42 43 44 String JSP_EXTENSION = "jsp"; 45 46 47 String TEMPLATE_PATH_KEY = "templates"; 48 49 50 String BUFFER_SIZE_KEY = "buffer.size"; 51 52 53 int BUFFER_SIZE_DEFAULT = 8192; 54 55 61 void addDefaultObjects(RunData data); 62 63 72 void handleRequest(RunData data, String templateName, boolean isForward) 73 throws TurbineException; 74 75 83 void handleRequest(RunData data, String templateName) 84 throws TurbineException; 85 86 91 int getDefaultBufferSize(); 92 93 102 String getRelativeTemplateName(String template); 103 104 } 105 | Popular Tags |