1 28 29 package com.caucho.server.port; 30 31 import com.caucho.server.connection.Connection; 32 33 36 public class ProtocolConfig extends Protocol { 37 private String _name; 38 39 42 public void setId(String text) 43 { 44 _name = text; 45 } 46 47 50 public void addText(String text) 51 { 52 _name = text; 53 } 54 55 58 public String getId() 59 { 60 return _name; 61 } 62 63 66 public String getProtocol() 67 { 68 return _name; 69 } 70 71 74 public ServerRequest createRequest(Connection conn) 75 { 76 throw new UnsupportedOperationException (); 77 } 78 } 79 | Popular Tags |