207 Commits

Author SHA1 Message Date
Greg Wilkins
e10c14c77a 332937 Added Destroyable interface and reworked dependent lifecycles, specially of JNDI
Also added Dumpable interface to improve and standardize the output of nested structures while debugging

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2615 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-21 11:27:02 +00:00
Greg Wilkins
f5cb715b78 332432 Scanner.java now always scanning the canonical form of File
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2607 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-13 15:45:18 +00:00
Greg Wilkins
d2161e36cf JETTY-1307 Check that JarFileResource directories end with /
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2576 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-03 15:14:54 +00:00
Greg Wilkins
e22e9eec6f 328789 Clean up tmp files from test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2567 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-01 17:32:13 +00:00
Greg Wilkins
26cc7563f5 328789 Clean up tmp files from test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2565 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-01 13:57:06 +00:00
Greg Wilkins
748eadeda3 331230 Fixed low thread warnings when acceptors>threadpool
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2564 7e9141cc-0065-0410-87d8-b60c137991c4
2010-12-01 13:08:13 +00:00
Greg Wilkins
e24075a294 more test refinements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2528 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-17 02:59:48 +00:00
Greg Wilkins
9c098e899a more test timing improvements
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2527 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-17 01:52:50 +00:00
Greg Wilkins
ba5343fe12 improved test
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2524 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-17 00:28:47 +00:00
Greg Wilkins
6ca798c49a improved test timing
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2523 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-16 23:53:42 +00:00
Greg Wilkins
4892e81ed4 improved test harness - removed arbitrary waits
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2512 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-16 12:36:13 +00:00
Greg Wilkins
57a8287da7 330210 Improve performance of writing large bytes arrays
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2507 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-15 11:57:53 +00:00
Greg Wilkins
0938609d3a restored deprecated API
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2505 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-15 11:56:40 +00:00
Greg Wilkins
fb4eaaafd3 324679 Fixed dedection of write before static content
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2482 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-08 05:09:05 +00:00
Greg Wilkins
79ca06a386 329643 Improved deployment of resource collections
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2477 7e9141cc-0065-0410-87d8-b60c137991c4
2010-11-07 23:38:23 +00:00
Greg Wilkins
2ad6320f94 328782 allow per connection max idle time to be set
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2424 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-28 02:28:58 +00:00
Greg Wilkins
c76886e2aa moved B64Code to util
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2399 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-25 03:33:16 +00:00
Greg Wilkins
996ff90660 328306 Serialization of FormAuthentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2380 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-21 09:58:13 +00:00
Greg Wilkins
236a0c3b86 JETTY-1283 javadoc
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2360 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-19 01:46:22 +00:00
Greg Wilkins
e3fe523cc7 327725 Nested ResourceCaches
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2345 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-14 01:51:42 +00:00
Greg Wilkins
3df18cb180 327469 removed needless java6 dependencies
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2340 7e9141cc-0065-0410-87d8-b60c137991c4
2010-10-11 23:17:47 +00:00
Greg Wilkins
de0b7d1a03 JETTY-1283 JSONPojoConvertorFactory can turn off fromJSON
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2305 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-28 13:19:05 +00:00
Greg Wilkins
4cb511afa4 JETTY-1268 Form Auth saves POST data
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2288 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-21 01:53:27 +00:00
Greg Wilkins
9e728c5d52 324110 Merge async dispatch parameters
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2228 7e9141cc-0065-0410-87d8-b60c137991c4
2010-09-01 02:38:52 +00:00
Greg Wilkins
50de9c814e 322448 Added jetty-dir.css for directory listings
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2214 7e9141cc-0065-0410-87d8-b60c137991c4
2010-08-16 14:36:39 +00:00
Jesse McConnell
c0510118a4 320457 move the stringToSID and SIDtoString methods to StringUtil and add appropriate unit tests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2210 7e9141cc-0065-0410-87d8-b60c137991c4
2010-08-12 14:09:05 +00:00
Greg Wilkins
d3012461ac cleaned up output from test harnesses
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2113 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-14 01:59:26 +00:00
Greg Wilkins
608eec242e added ignore to Logger interface
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2104 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-12 08:44:52 +00:00
Greg Wilkins
9f0a75da75 319334 improved resource cache
Made the cache use concurrent data structures
Removed the dual NIO/BIO caches
Use the cache for streaming data
made DefaultServlet check for shared cache
some javadoc cleanups

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2085 7e9141cc-0065-0410-87d8-b60c137991c4
2010-07-09 04:45:52 +00:00
Greg Wilkins
849b77925c 318308 Correct quoting of unicode control characters
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2057 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-29 14:13:22 +00:00
Greg Wilkins
3b5c2dd465 317906 OPTIONS correctly handles TRACE
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2056 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-28 14:53:12 +00:00
Greg Wilkins
211cfb87af 316597 fixed loop break
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2025 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-18 01:53:35 +00:00
Michael Gorovoy
6bbaa8feaf 288194 Add blacklist/whitelist to ProxyServlet and ProxyHandler
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2020 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 22:55:43 +00:00
Michael Gorovoy
51c6be9c42 Fixed javadoc comments, added a guard against null parameter
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2019 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 22:09:56 +00:00
Michael Gorovoy
bfc76bcad7 Revert changes that were committed prematurely
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2011 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 10:30:25 +00:00
Michael Gorovoy
ac76f274cd 317019 Date HTTP header not sent for HTTP/1.0 requests
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2010 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-16 10:21:27 +00:00
Greg Wilkins
871f73d409 316597 Removed null check and fixed name in Resource#hrefEncodeURI
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2003 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-15 04:34:49 +00:00
Joakim Erdfelt
be468d5f4b Fixing javadoc error.
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1964 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-09 23:20:19 +00:00
Greg Wilkins
7f409167a7 301608 Deregister shutdown hooks
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1949 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-09 07:22:08 +00:00
Greg Wilkins
a2bd4024c7 315925 Improved context xml configuration handling
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1932 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-07 05:50:31 +00:00
Greg Wilkins
b56da2e598 #310603: readded unwrapping of caused by exceptions
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1931 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-07 03:55:55 +00:00
Greg Wilkins
fe6a6e86ed 315748 made --daemon log non appendable
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1930 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-07 00:21:42 +00:00
Greg Wilkins
b3c156a988 315748 Removed --fromDaemon from start.jar
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1919 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-04 11:02:16 +00:00
Greg Wilkins
a74286d92c 315715 Improved Cookie version handling. Server.setMaxCookieVersion
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1917 7e9141cc-0065-0410-87d8-b60c137991c4
2010-06-04 06:34:53 +00:00
Michael Gorovoy
222e11ded7 313278 Implement octet ranges in IPAccessHandler
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1834 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-21 19:59:18 +00:00
Michael Gorovoy
14d997de30 308866 Update test suite to JUnit4 - Module jetty-util
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1818 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-18 02:43:31 +00:00
Greg Wilkins
11cef96193 312526 Protect shutdown thread initialization during shutdown
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1774 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-14 06:48:27 +00:00
Simone Bordet
c3d31d68b0 Fix for #304803 (Remove TypeUtil Integer and Long caches).
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1744 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-10 15:12:34 +00:00
Greg Wilkins
d41459934c #311154 Added deprecated StringBuffer API for backwards compatibility
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1721 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-05 13:00:51 +00:00
Greg Wilkins
820855b3b5 311362 Optional org.eclipse.jetty.util.log.stderr.SOURCE
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1647 7e9141cc-0065-0410-87d8-b60c137991c4
2010-05-03 13:15:49 +00:00