| Package | Description |
|---|---|
| org.jboss.netty.example.http.upload | |
| org.jboss.netty.handler.codec.http.multipart |
HTTP multipart support.
|
| Modifier and Type | Field and Description |
|---|---|
private static HttpDataFactory |
HttpUploadServerHandler.factory |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.List<InterfaceHttpData> |
HttpUploadClient.formpost(ClientBootstrap bootstrap,
java.lang.String host,
int port,
java.net.URI uriSimple,
java.io.File file,
HttpDataFactory factory,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> headers)
Standard post without multipart but already support on Factory (memory management)
|
private static void |
HttpUploadClient.formpostmultipart(ClientBootstrap bootstrap,
java.lang.String host,
int port,
java.net.URI uriFile,
HttpDataFactory factory,
java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>> headers,
java.util.List<InterfaceHttpData> bodylist)
Multipart example
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultHttpDataFactory
Default factory giving Attribute and FileUpload according to constructor
Attribute and FileUpload could be :
- MemoryAttribute, DiskAttribute or MixedAttribute - MemoryFileUpload, DiskFileUpload or MixedFileUpload according to the constructor. |
| Modifier and Type | Field and Description |
|---|---|
private HttpDataFactory |
HttpPostMultipartRequestDecoder.factory
Factory used to create InterfaceHttpData
|
private HttpDataFactory |
HttpPostRequestEncoder.factory
Factory used to create InterfaceHttpData
|
private HttpDataFactory |
HttpPostStandardRequestDecoder.factory
Factory used to create InterfaceHttpData
|