Initial commit with hopefully working J2EE request handler.
[jsvc.git] / src / dolda / jsvc / util / Misc.java
CommitLineData
78f5d120
FT
1package dolda.jsvc.util;
2
3import java.util.*;
4
5public class Misc {
6 private static Map<Integer, String> stext = new HashMap<Integer, String>();
7
8 static {
9 stext.put(200, "OK");
10 }
11
12 public static String statustext(int status) {
13 String text;
14 if((text = stext.get(status)) != null)
15 return(text);
16 return("Unknown Response");
17 }
18}