1 17 18 package org.apache.coyote; 19 20 import java.util.Iterator ; 21 22 23 35 public interface ProtocolHandler { 36 37 38 41 public void setAttribute(String name, Object value); 42 43 44 public Object getAttribute(String name); 45 public Iterator getAttributeNames(); 46 47 50 public void setAdapter(Adapter adapter); 51 52 53 public Adapter getAdapter(); 54 55 56 59 public void init() 60 throws Exception ; 61 62 63 66 public void start() 67 throws Exception ; 68 69 72 public void pause() 73 throws Exception ; 74 75 78 public void resume() 79 throws Exception ; 80 81 public void destroy() 82 throws Exception ; 83 84 85 } 86 | Popular Tags |