netty5/codec-http/src/main/java/io/netty/handler/codec/http/multipart
田欧 4c64c98f34 use checkPositive/checkPositiveOrZero (#8835)
Motivation:

We can replace some "hand-rolled" integer checks with our own static utility method to simplify the code.

Modifications:

Use methods provided by `ObjectUtil`.

Result:

Cleaner code and less duplication
2019-02-04 16:01:49 +01:00
..
AbstractDiskHttpData.java Allow to call AbstractDiskHttpData.setContent(Unpooled.EMPTY_BUFFER) multiple times. (#7890) 2018-04-30 08:39:24 +02:00
AbstractHttpData.java Update to new checkstyle plugin (#8777) (#8780) 2019-01-25 11:58:42 +01:00
AbstractMemoryHttpData.java use checkPositive/checkPositiveOrZero (#8835) 2019-02-04 16:01:49 +01:00
Attribute.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
CaseIgnoringComparator.java Fix most inspector warnings 2014-07-02 19:55:07 +09:00
DefaultHttpDataFactory.java Fix DefaultHttpDataFactory cleanup bug 2017-12-28 07:40:17 +01:00
DiskAttribute.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
DiskFileUpload.java Use constant string instead of user provided file name for DiskFileUpload temp file names. 2017-04-27 16:02:41 -07:00
FileUpload.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
FileUploadUtil.java [#5514] Fix DiskFileUpload and MemoryFileUpload equals(...) method. 2016-07-14 09:09:16 +02:00
HttpData.java Fix javadoc issues 2017-02-22 07:31:07 +01:00
HttpDataFactory.java Get uploaded size while upload is in progress 2015-06-12 14:16:07 +02:00
HttpPostBodyUtil.java Removing a SeekAheadNoBackArrayException to avoid exception handling 2017-06-06 19:30:04 -07:00
HttpPostMultipartRequestDecoder.java Replace toArray(new T[size]) with toArray(new T[0]) to eliminate zero-out and allow the VM to optimize. (#8075) 2018-06-29 07:56:04 +02:00
HttpPostRequestDecoder.java Improvement : allocate less object during multipart form parsing. 2017-04-25 14:06:10 +02:00
HttpPostRequestEncoder.java Extract common parts from if statements (#7831) 2018-04-11 14:36:56 +02:00
HttpPostStandardRequestDecoder.java Extract common parts from if statements (#7831) 2018-04-11 14:36:56 +02:00
InterfaceHttpData.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
InterfaceHttpPostRequestDecoder.java Extends HttpPostRequestEncoder to support all methods except TRACE 2016-12-30 12:00:21 -08:00
InternalAttribute.java Fix InternalAttribute.equals 2016-01-11 09:25:17 +01:00
MemoryAttribute.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
MemoryFileUpload.java [#5514] Fix DiskFileUpload and MemoryFileUpload equals(...) method. 2016-07-14 09:09:16 +02:00
MixedAttribute.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
MixedFileUpload.java Make retained derived buffers recyclable 2016-05-17 11:16:13 +02:00
package-info.java Port http multipart package. See #709 2012-11-04 13:59:50 +01:00