jsvc.git
14 years agoAdded basic session support.
Fredrik Tolf [Mon, 26 Oct 2009 15:56:15 +0000 (16:56 +0100)]
Added basic session support.

14 years agoEnsure that the rooturl is interpreted as a directory.
Fredrik Tolf [Mon, 26 Oct 2009 15:54:30 +0000 (16:54 +0100)]
Ensure that the rooturl is interpreted as a directory.

14 years agoAdded library functions for setting and parsing cookies.
Fredrik Tolf [Mon, 26 Oct 2009 07:09:15 +0000 (08:09 +0100)]
Added library functions for setting and parsing cookies.

14 years agoCheck for the library jars in the bsh sample and fail with information.
Fredrik Tolf [Mon, 26 Oct 2009 05:33:36 +0000 (06:33 +0100)]
Check for the library jars in the bsh sample and fail with information.

14 years agoAdded a sample bsh service.
Fredrik Tolf [Mon, 26 Oct 2009 00:56:48 +0000 (01:56 +0100)]
Added a sample bsh service.

14 years agoA couple of minor cleanups.
Fredrik Tolf [Mon, 26 Oct 2009 00:54:20 +0000 (01:54 +0100)]
A couple of minor cleanups.

14 years agoAdded a simple XML parser as an entry point for making Next.
Fredrik Tolf [Tue, 20 Oct 2009 04:23:35 +0000 (06:23 +0200)]
Added a simple XML parser as an entry point for making Next.

14 years agoMerge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc
Fredrik Tolf [Mon, 19 Oct 2009 13:40:24 +0000 (15:40 +0200)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc

14 years agoAdded timelimits to threads.
Fredrik Tolf [Sat, 17 Oct 2009 15:48:06 +0000 (17:48 +0200)]
Added timelimits to threads.

14 years agoImproved the configuration structure.
Fredrik Tolf [Fri, 16 Oct 2009 15:29:37 +0000 (17:29 +0200)]
Improved the configuration structure.

14 years agoRemoved the props stuff from the request.
Fredrik Tolf [Fri, 16 Oct 2009 04:38:28 +0000 (06:38 +0200)]
Removed the props stuff from the request.

They turned out to be unnecessary, and the ContextParam class
provides a much nicer mechanism anyway, so -- remove cruft early!

14 years agoWork around Tomcat/AJP bug.
Fredrik Tolf [Fri, 16 Oct 2009 03:57:50 +0000 (05:57 +0200)]
Work around Tomcat/AJP bug.

14 years agoFixed message typo.
Fredrik Tolf [Fri, 16 Oct 2009 03:02:29 +0000 (05:02 +0200)]
Fixed message typo.

14 years agoDegrade more gracefully when lacking permissions.
Fredrik Tolf [Fri, 16 Oct 2009 02:59:48 +0000 (04:59 +0200)]
Degrade more gracefully when lacking permissions.

14 years agoA couple of bugfixes.
Fredrik Tolf [Fri, 16 Oct 2009 01:04:32 +0000 (03:04 +0200)]
A couple of bugfixes.

14 years agoImproved the store library massively and added a preliminary filesystem store.
Fredrik Tolf [Fri, 16 Oct 2009 00:16:09 +0000 (02:16 +0200)]
Improved the store library massively and added a preliminary filesystem store.

14 years agoAdded an optional server-context name fetching operation.
Fredrik Tolf [Thu, 15 Oct 2009 23:07:40 +0000 (01:07 +0200)]
Added an optional server-context name fetching operation.

Only supported on Tomcat so far.

14 years agoRemoved the pointless security check in Store.
Fredrik Tolf [Thu, 15 Oct 2009 18:30:57 +0000 (20:30 +0200)]
Removed the pointless security check in Store.

14 years agoAdded a responder wrapper to the request restart class.
Fredrik Tolf [Thu, 15 Oct 2009 13:10:52 +0000 (15:10 +0200)]
Added a responder wrapper to the request restart class.

14 years agoStarted a basic storage manager.
Fredrik Tolf [Thu, 15 Oct 2009 05:26:54 +0000 (07:26 +0200)]
Started a basic storage manager.

14 years agoMade the server context config more secure.
Fredrik Tolf [Thu, 15 Oct 2009 05:07:23 +0000 (07:07 +0200)]
Made the server context config more secure.

14 years agoAdded config to the general ServerContext interface.
Fredrik Tolf [Thu, 15 Oct 2009 04:51:54 +0000 (06:51 +0200)]
Added config to the general ServerContext interface.

14 years agoAdded some possibilities for local configuration.
Fredrik Tolf [Thu, 15 Oct 2009 04:51:39 +0000 (06:51 +0200)]
Added some possibilities for local configuration.

14 years agoMade the server context a more useful concept.
Fredrik Tolf [Thu, 15 Oct 2009 03:33:56 +0000 (05:33 +0200)]
Made the server context a more useful concept.

14 years agoCleaned up parameter decoding.
Fredrik Tolf [Wed, 14 Oct 2009 00:47:20 +0000 (02:47 +0200)]
Cleaned up parameter decoding.

14 years agoAdded support for decoding application/x-www-form-urlencoded POST parameters.
Fredrik Tolf [Wed, 14 Oct 2009 00:41:29 +0000 (02:41 +0200)]
Added support for decoding application/x-www-form-urlencoded POST parameters.

14 years agoAdded URL parameter {en,de}coding.
Fredrik Tolf [Wed, 14 Oct 2009 00:22:03 +0000 (02:22 +0200)]
Added URL parameter {en,de}coding.

14 years agoFixed faulty cache response.
Fredrik Tolf [Tue, 13 Oct 2009 19:10:02 +0000 (21:10 +0200)]
Fixed faulty cache response.

14 years agoMerge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc
Fredrik Tolf [Tue, 13 Oct 2009 18:07:58 +0000 (20:07 +0200)]
Merge branch 'master' of git.dolda2000.com:/srv/git/r/jsvc

14 years agoImproved on the SvcConfig and renamed it.
Fredrik Tolf [Tue, 13 Oct 2009 18:05:46 +0000 (20:05 +0200)]
Improved on the SvcConfig and renamed it.

14 years agoDestroy the thread groups properly when shutting down.
Fredrik Tolf [Tue, 13 Oct 2009 17:33:53 +0000 (19:33 +0200)]
Destroy the thread groups properly when shutting down.

Are thread groups never garbage collected? That does seem too weird to
be true, but I haven't managed to get them collected so far.

14 years agoMade thread management more predictable.
Fredrik Tolf [Tue, 13 Oct 2009 17:21:15 +0000 (19:21 +0200)]
Made thread management more predictable.

14 years agoPublicized the multiplexer's matcher interface.
Fredrik Tolf [Tue, 13 Oct 2009 12:50:57 +0000 (14:50 +0200)]
Publicized the multiplexer's matcher interface.

14 years agoRemoved the primitive test code.
Fredrik Tolf [Tue, 13 Oct 2009 04:51:14 +0000 (06:51 +0200)]
Removed the primitive test code.

14 years agoMade cache checking easier.
Fredrik Tolf [Tue, 13 Oct 2009 04:48:20 +0000 (06:48 +0200)]
Made cache checking easier.

14 years agoAdded Javadoc target to the build script.
Fredrik Tolf [Tue, 13 Oct 2009 02:49:23 +0000 (04:49 +0200)]
Added Javadoc target to the build script.

14 years agoRemoved the "RootResponder". I have no idea what it did there in the first place.
Fredrik Tolf [Tue, 13 Oct 2009 02:29:55 +0000 (04:29 +0200)]
Removed the "RootResponder". I have no idea what it did there in the first place.

14 years agoAdded a responder to serve static content from the classloader.
Fredrik Tolf [Tue, 13 Oct 2009 01:21:07 +0000 (03:21 +0200)]
Added a responder to serve static content from the classloader.

14 years agoAdded a "directory multiplexer" responder.
Fredrik Tolf [Tue, 13 Oct 2009 00:11:58 +0000 (02:11 +0200)]
Added a "directory multiplexer" responder.

14 years agoAdded a configuration manager with support for LET-like constructs.
Fredrik Tolf [Mon, 12 Oct 2009 23:36:16 +0000 (01:36 +0200)]
Added a configuration manager with support for LET-like constructs.

14 years agoDecode the Host header better when generating the URL of the request.
Fredrik Tolf [Mon, 12 Oct 2009 23:09:31 +0000 (01:09 +0200)]
Decode the Host header better when generating the URL of the request.

14 years agoActually set the HTTP status code...
Fredrik Tolf [Mon, 12 Oct 2009 22:55:38 +0000 (00:55 +0200)]
Actually set the HTTP status code...

14 years agoAdded a request-restart-wrapper and some convenient redirections.
Fredrik Tolf [Mon, 12 Oct 2009 22:46:54 +0000 (00:46 +0200)]
Added a request-restart-wrapper and some convenient redirections.

14 years agoAdded a general-purpose root error handler.
Fredrik Tolf [Mon, 12 Oct 2009 22:01:59 +0000 (00:01 +0200)]
Added a general-purpose root error handler.

14 years agoAdded ways to get the addresses of the request's connection.
Fredrik Tolf [Mon, 12 Oct 2009 21:33:06 +0000 (23:33 +0200)]
Added ways to get the addresses of the request's connection.

14 years agoAdded a way to get the time of start of the server context.
Fredrik Tolf [Mon, 12 Oct 2009 21:18:03 +0000 (23:18 +0200)]
Added a way to get the time of start of the server context.

14 years agoAdded a convenient toString implementation for multimaps.
Fredrik Tolf [Mon, 12 Oct 2009 21:12:17 +0000 (23:12 +0200)]
Added a convenient toString implementation for multimaps.

14 years agoAdded a way to query the current server context.
Fredrik Tolf [Mon, 12 Oct 2009 21:10:52 +0000 (23:10 +0200)]
Added a way to query the current server context.

14 years agoMade the buffered response resettable.
Fredrik Tolf [Mon, 12 Oct 2009 20:47:20 +0000 (22:47 +0200)]
Made the buffered response resettable.

14 years agoAlways close the output stream after a request has completed.
Fredrik Tolf [Mon, 12 Oct 2009 20:33:19 +0000 (22:33 +0200)]
Always close the output stream after a request has completed.

14 years agoWrote an ant task to create jsvc war files.
Fredrik Tolf [Mon, 12 Oct 2009 19:33:27 +0000 (21:33 +0200)]
Wrote an ant task to create jsvc war files.

14 years agoInitially working J2EE container.
Fredrik Tolf [Mon, 12 Oct 2009 17:12:37 +0000 (19:12 +0200)]
Initially working J2EE container.

14 years agoAdded a test responder.
Fredrik Tolf [Mon, 12 Oct 2009 17:12:21 +0000 (19:12 +0200)]
Added a test responder.

14 years agoExtended the WAR maker to be able to add code files.
Fredrik Tolf [Mon, 12 Oct 2009 16:26:21 +0000 (18:26 +0200)]
Extended the WAR maker to be able to add code files.

14 years agoMoved WAR making to an explicit function.
Fredrik Tolf [Mon, 12 Oct 2009 15:54:44 +0000 (17:54 +0200)]
Moved WAR making to an explicit function.

14 years agoInitial commit with hopefully working J2EE request handler.
Fredrik Tolf [Sun, 4 Oct 2009 05:14:17 +0000 (07:14 +0200)]
Initial commit with hopefully working J2EE request handler.