PageRenderTime 58ms CodeModel.GetById 51ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/razweb/src/com/razie/pub/http/package-info.java

http://razpub.googlecode.com/
Java | 27 lines | 1 code | 1 blank | 25 comment | 0 complexity | a09798f212fdcdc519dae646e54d4a66 MD5 | raw file
 1/**
 2 * Simple embeddable socket/http server implementation. It is not a complete web server
 3 * implementation, but serves most purposes. It is easy to extend/use - just start it up and mount
 4 * "listeners".
 5 * 
 6 * You can use it as a plain socket server (i.e. ftp or something) OR, just mount the LightCmdGET
 7 * and it becomes an http server with SOA support.
 8 * 
 9 * Features:
10 * <li>bind java code to URL
11 * <li>parse URL into map of values and viceversa
12 * <li>handles multithreaded request processing
13 * <li>handles simple authentication/authorization
14 * 
15 * The basic serving logic is in LightCmdGET: it can either serve a file from URL (classpath, disk)
16 * or call a SOA method/service.
17 * 
18 * See examples in ./test See ../lightsoa for the SOA support. See ../assets for SOA asset support.
19 * 
20 * <p>
21 * Testing code is a lot easier when you can start the server inside the test code rather than as a
22 * separate process, see the tests for the light server.
23 * 
24 * @version $Id: package-info.java,v 1.1 2007-10-02 11:54:36 razvanc Exp $
25 */
26package com.razie.pub.http;
27