1 28 29 package com.caucho.server.http; 30 31 import java.io.*; 32 import java.net.*; 33 import java.util.*; 34 import javax.servlet.*; 35 import javax.servlet.http.*; 36 37 import com.caucho.util.*; 38 import com.caucho.vfs.*; 39 40 import com.caucho.server.port.Protocol; 41 import com.caucho.server.port.ServerRequest; 42 43 import com.caucho.server.connection.Connection; 44 45 50 public class SrunProtocol extends Protocol { 51 static final String COPYRIGHT = 52 "Copyright (c) 1998-2004 Caucho Technology. All rights reserved."; 53 54 private String protocolName = "srun"; 55 56 59 public String getProtocolName() 60 { 61 return protocolName; 62 } 63 64 67 public void setProtocolName(String name) 68 { 69 this.protocolName = name; 70 } 71 72 75 public ServerRequest createRequest(Connection conn) 76 { 77 return new RunnerRequest(getServer(), conn); 78 } 79 } 80 | Popular Tags |