Commit Graph

3550 Commits

Author SHA1 Message Date
Trustin Lee
e5972a7453 Use String.CASE_INSENSITIVE_ORDER instead of custom Comparator 2012-07-07 14:30:26 +09:00
norman
e1f39f1d85 Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79 2012-07-07 14:30:26 +09:00
norman
3f1478b653 Optimize SslHandler's detection of supressable exceptions, so it will not break on different OS's or jdk impls. See #79 2012-07-07 14:30:26 +09:00
norman
a23baa1b9b Throw a special SSLException if a non SSL/TLS record was detected. See #437 2012-07-07 14:30:25 +09:00
norman
d6f1a82c31 Fix checkstyle 2012-07-07 14:30:25 +09:00
norman
ae2906de1e Correctly format cookies. This fix some bug which lead to expiring of cookies to not work. See #426 2012-07-07 14:30:25 +09:00
norman
8595d85e4a Port fix for #433 2012-07-07 14:30:25 +09:00
norman
166d8d9436 Minimize byte copies by using a CompositeByteBuf to concat the chunks. See #413 2012-07-07 14:30:25 +09:00
norman
2a2394c132 Add getters for the specified timeout values. See #418 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
4324c61883 Fixes javadoc from #414 / #415 (@trustin) 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
02d5267a70 Change Timeout.cancel() to return a boolean value, true on a successful cancel
As requested in the javadoc for HashedWheelTimer
2012-07-07 14:30:25 +09:00
Norman Maurer
8224c95e05 Port enhancement to reduce memory copy if possible. See #412 2012-07-07 14:30:25 +09:00
Norman Maurer
efce2624dd Fix checkstyle 2012-07-07 14:30:25 +09:00
Norman Maurer
ce90550f64 Rename method and make it more clear thats an expert method. See #414 #415 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0ae4a64db2 Assuming that @trustin will want this changed :) 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
20062de0d9 Changed "Gets the" to "Returns the" - Requested by @trustin 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
4379a86c4c Documentation redone for Cookie 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
e08c4ea3e0 Documentation and slight internal refactoring of HttpCodecUtil 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
c8d13e03e0 Make HttpResponse's javadoc a bit easier to read 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
d975ab365c Make HttpRequest's documentation easier to read 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
98c61e4128 Made the documentation in HttpMessage a bit easier to understand 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
eaa99efd30 Redid documentation for WebSocketUtil 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
7e35cc1ebb Fixes a bit of javadoc that was broken by a failed merge 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
dc300f2c81 Fix a bug where a potential overflow occurs 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0f6c3137f6 Two tentative last asserts in the test 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
73a76bfe63 Little bit more testing 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
052f8be504 Provide a basic test for getBufferFor() 2012-07-07 14:30:25 +09:00
Norman Maurer
a280928731 Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0a413af35d Comply with line width a bit more 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
d2f1c85f24 Documentation and checkstyle fixes from @fredericBregier
This is part of #414
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
a92ed57b18 Add documentation and changes to ComposityByteBuf.getBufferFor(index)
Thanks to @kimchy and @fredericBregier
This is part of #414
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
f1c375109e Add documentation to NonReentrantLock 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
580c6069fa Actually throw the correct Exception type. Whoops!
This should be done, now.
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
0d8ed47c3e Simplify the process of getting the component 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
343d674839 Adds a method to get the buffer for a specific index in CompositeByteBuf
This fixes #414
2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
8b5ab52a5b Update dependencies to the latest stable versions 2012-07-07 14:30:25 +09:00
Cruz Julian Bishop
2653facd3b Adds javadoc to NetworkConstants
Also renames some internal variables to be more understandable
No API changes! :)
2012-07-07 14:30:25 +09:00
Trustin Lee
9cc9f4e1ec Add more cookie decoding test case 2012-07-07 14:30:25 +09:00
Trustin Lee
de20883517 Add missing license headers 2012-07-07 14:30:25 +09:00
Trustin Lee
88e83462b0 Remove a method of no use 2012-07-07 14:30:25 +09:00
Trustin Lee
0c55c85d06 Make CookieEncoder and CookieDecoder stateless
- Also: CookieEncoder is split into ServerCookieEncoder and
  ClientCookieEncoder
2012-07-07 14:30:25 +09:00
Trustin Lee
c77af32142 Add CompositeByteBuf.numComponents() 2012-07-07 14:30:24 +09:00
Trustin Lee
217f8ce1fd Fix #218: CookieDecoder.decode() throws StackOverflowError
- Rewrote key-value decoder not using a regular expression
2012-07-07 14:30:24 +09:00
Trustin Lee
7596ad8d58 Fix #397: Allow all cookie names that conform to the RFC
- Lenient flag is not needed anymore
2012-07-07 14:30:24 +09:00
Trustin Lee
79425895e2 Fix test failures 2012-07-07 14:30:24 +09:00
Trustin Lee
1ef371b625 Fix #405: CookieEncoder should refuse to encode more than one cookie
.. if on server mode
2012-07-07 14:30:24 +09:00
Trustin Lee
1d0d4fcd78 Fix documentation errors 2012-07-07 14:30:24 +09:00
Trustin Lee
81eaea77bd Add DatagramChannel.isConnected()
.. because there is no way for a user with isActive to know if
   DatagramChannel is connected or not
2012-07-07 14:30:24 +09:00
Trustin Lee
a5bb2c7f77 Add ChannelMetadata and remove unnecessary disconnect() impls
- Add Channel.metadata() and remove Channel.bufferType()
- DefaultPipeline automatically redirects disconnect() request to
  close() if the channel has no disconnect operation
- Remove unnecessary disconnect() implementations
2012-07-07 14:30:24 +09:00
Trustin Lee
32188f83ac Forward-port JDK ZlibEncoder patch (#404)
- Rename ZlibEncoder/Decoder to JZlibEncoder/Decoder
- Define a new ZlibEncoder/Decoder class
- Add JdkZlibEncoder
- All JZlib* and JdkZlib* extends ZlibEncoder/Decoder
- Add ZlibCodecFactory and use it everywhere
2012-07-07 14:30:24 +09:00