Commit Graph

855 Commits

Author SHA1 Message Date
Trustin Lee
8d75e7e323 Added FindBugs preferences 2009-02-26 11:08:54 +00:00
Trustin Lee
720b6cdf8f Added dav: prefix to the distribution url 2009-02-26 11:07:04 +00:00
Trustin Lee
86bc09159d Fixed APIviz errors 2009-02-26 11:02:43 +00:00
Trustin Lee
2321499c8c There was no need to introduce a thread local to avoid event recursion 2009-02-26 10:51:03 +00:00
Trustin Lee
903c530ae0 Fixed a problem where NioWorker.writeNow() doesn't work when it's called recursively
* Added a boolean thread local variable to check if writeNow() has been called by itself
2009-02-26 10:32:33 +00:00
Trustin Lee
1ff58978a2 Fixed a bug where DefaultChannelFuture.isSuccess() returns true even if the future is not done yet 2009-02-26 09:28:37 +00:00
Trustin Lee
ae7fb55d62 Removed printlns 2009-02-26 09:14:33 +00:00
Trustin Lee
284fc4db44 Removed println 2009-02-26 09:13:26 +00:00
Trustin Lee
5fdce19902 Reverted the unnecessary changes related with shutting FindBug up 2009-02-26 09:10:59 +00:00
Trustin Lee
6200d39bdd Reverted the unnecessary changes related with shutting FindBug up 2009-02-26 09:08:34 +00:00
Trustin Lee
0132b00091 Fixed a couple findbugs warnings 2009-02-26 09:05:01 +00:00
Trustin Lee
a8d51cfad8 * Forgot to check in the http example code which was affected by the recent refactoring on Cookies
* Removed a FIXME in LocalTransportRegister - it's just an example.
2009-02-26 09:02:47 +00:00
Trustin Lee
5e64bb66e8 * Fixed a problem where CookieEncoder trims the value (it should not)
* Made sure the cookie values follow the URI encoding
2009-02-26 08:44:58 +00:00
Trustin Lee
9550c0759d Strict cookie name validation 2009-02-26 08:35:38 +00:00
Trustin Lee
b71d2d3d7f Updated fixmes for ataylor regarding cookie encoding/decoding 2009-02-26 08:06:07 +00:00
Trustin Lee
b8bc78a7d0 * Renamed HttpCookie to Cookie
* Split Cookie into an interface and its implementation (DefaultCookie)
* Renamed HttpCookieEncoder/Decoder to CookieEncoderDecoder
* Added all optional fields to Cookie
* Made Cookie.value mutable
* Revised DefaultCookie.toString
2009-02-26 07:59:37 +00:00
Trustin Lee
29b0af4f07 * Fixed a problem where query parameter components are not correctly encoded / decoded
* Changed the default charset of the query parameters to UTF-8
* Allowed a user to specify the charset of QueryStringEncoder/Decoder
2009-02-26 06:34:07 +00:00
Trustin Lee
63cb4a023f Implemented AbstractXnioChannels.handleWritable() properly (needs cleanup and optimization though) 2009-02-26 01:38:29 +00:00
Trustin Lee
49c0f33461 Improved AbstractXnioChannelHandler to use ReceiveBufferSizePredictor 2009-02-26 01:29:11 +00:00
Trustin Lee
23b13eeafe More interfaces for the XNIO transport 2009-02-25 15:19:54 +00:00
Trustin Lee
d2274f75da Introduced more interfaces to the XNIO transport 2009-02-25 15:11:26 +00:00
Trustin Lee
13c68c7643 * Made ChannelConfig.setOption() public 2009-02-25 14:53:31 +00:00
Trustin Lee
988fff225f Better exception handling on a connection attempt 2009-02-25 14:47:27 +00:00
Trustin Lee
94e8f31bfa Added more todo for the xnio transport 2009-02-25 10:43:03 +00:00
Trustin Lee
fe220d42ec 2009-02-25 10:40:26 +00:00
Trustin Lee
214a26b529 Fixed a problem where XNIO transport doesn't work for the serverside 2009-02-25 10:34:17 +00:00
Trustin Lee
c3bd292f73 Fixed a problem where XnioChannelRegistry fails to find a server channel if IPv6 local address is specified 2009-02-25 10:21:35 +00:00
Trustin Lee
9043fdb622 Related issue: NETTY-75 XNIO transport
* The preliminary initial implementation of the XNIO transport
2009-02-25 10:10:03 +00:00
Trustin Lee
0c27f015bf * Better exception handling on bind failure in ServerBootstrap
* Fixed a problem where UnfailingChannelFuture doesn't tell what exception cause the IllegalStateException
2009-02-24 04:58:19 +00:00
Trustin Lee
ae22b0aaa1 Fixed failing tests 2009-02-21 19:34:22 +00:00
Trustin Lee
547af08bc6 * Made sure ServerBootstrap accepts only ServerChannelFactory
* Validation first, state check later
2009-02-21 19:32:32 +00:00
Trustin Lee
f6ee08090a * Added ServerChannelFactory
* All ChannelFactories that creates a ServerChannel now implements ServerChannelFactory
2009-02-21 19:29:38 +00:00
Trustin Lee
cd341609fa * Renamed Local*ChannelFactory to DefaultLocal*ChannelFactory
* Local*ChannelFactories are now interfaces
2009-02-21 19:24:49 +00:00
Trustin Lee
b56bdd89dd Marked some classes as final in the http tunneling socket transport 2009-02-21 19:21:12 +00:00
Trustin Lee
3d7214ba61 * Renamed LocalServerChannel to DefaultLocalServerChannel
* Added LocalServerChannel interface
* Covariant return types for Local*ChannelFactory
2009-02-21 19:15:30 +00:00
Trustin Lee
0e443c3a02 Added ThreadLocalBoolean and replaced unnecessary anonymous classes 2009-02-21 19:12:03 +00:00
Trustin Lee
cd6fce50bc * Extracted common code from various ChannelConfig implementations to DefaultChannelConfig and DefaultServerChannelConfig 2009-02-21 19:08:08 +00:00
Trustin Lee
fdd74f252b * Renamed AbstractLocalChannel to DefaultLocalChannel
* Removed unnecessary subclasses of DefaultLocalChannel
* Added LocalChannel interface
2009-02-21 18:41:21 +00:00
Trustin Lee
e1b5806560 * Removed AbstractServerChannel.getLocalAddress() to enforce the use of covariant return types in its subclasses
* Renamed LocalChannel to AbstractLocalChannel
2009-02-21 18:34:27 +00:00
Trustin Lee
2ab02caa67 Implemented two more methods in AbstractServerChannel 2009-02-21 09:32:29 +00:00
Trustin Lee
874b043297 Added more TODOs 2009-02-20 13:07:03 +00:00
Trustin Lee
8872294728 FIXME 2009-02-20 12:57:51 +00:00
Trustin Lee
95b6558068 Fixed author tags 2009-02-20 12:56:44 +00:00
Trustin Lee
10cf64acd5 Added missing SVN properties 2009-02-20 12:52:46 +00:00
Trustin Lee
d550109796 Implemented Comparable, hashCode, equals, and toString for HttpCookie 2009-02-20 12:49:54 +00:00
Trustin Lee
df05ba3733 * Made CaseIgnoringComparator a singleton
* Changed HttpCookieDecoder to return a Map instead of a Set
* Optimized imports
2009-02-20 12:41:59 +00:00
Andy Taylor
fea082e689 fixed cookie support 2009-02-17 17:13:13 +00:00
Trustin Lee
e424c5f87d * Added XNIO dependency (optional)
* Updated license files for XNIO
2009-02-17 10:22:53 +00:00
Trustin Lee
aa36f446f5 Forgot to commit 2009-02-17 10:07:25 +00:00
Trustin Lee
1f9c8256d8 HttpMessageEncoder.getCookieHeaderName() must be protected 2009-02-17 09:50:10 +00:00