Author: markt Date: Sat Jul 17 18:20:11 2010 New Revision: 965122 URL: http://svn.apache.org/viewvc?rev=965122&view=rev Log: Clean-up. No functional change.
Modified: tomcat/trunk/java/org/apache/coyote/ProtocolHandler.java Modified: tomcat/trunk/java/org/apache/coyote/ProtocolHandler.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/ProtocolHandler.java?rev=965122&r1=965121&r2=965122&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/ProtocolHandler.java (original) +++ tomcat/trunk/java/org/apache/coyote/ProtocolHandler.java Sat Jul 17 18:20:11 2010 @@ -26,7 +26,8 @@ import java.util.Iterator; * will not fit Jk protocols like JNI. * * This is the main interface to be implemented by a coyote connector. - * Adapter is the main interface to be implemented by a coyote servlet container. + * Adapter is the main interface to be implemented by a coyote servlet + * container. * * @author Remy Maucherat * @author Costin Manolache @@ -34,52 +35,47 @@ import java.util.Iterator; */ public interface ProtocolHandler { - /** * Pass config info. */ public void setAttribute(String name, Object value); - - public Object getAttribute(String name); public Iterator<String> getAttributeNames(); + /** * The adapter, used to call the connector. */ public void setAdapter(Adapter adapter); - - public Adapter getAdapter(); /** - * Init the protocol. + * Initialise the protocol. */ - public void init() - throws Exception; + public void init() throws Exception; /** * Start the protocol. */ - public void start() - throws Exception; + public void start() throws Exception; + /** * Pause the protocol (optional). */ - public void pause() - throws Exception; + public void pause() throws Exception; + /** * Resume the protocol (optional). */ - public void resume() - throws Exception; - - public void destroy() - throws Exception; + public void resume() throws Exception; + /** + * Destroy the protocol (optional). + */ + public void destroy() throws Exception; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org