Uses of Class
org.jboss.netty.bootstrap.ClientBootstrap
-
Packages that use ClientBootstrap Package Description org.jboss.netty.example.http.upload org.jboss.netty.example.uptime -
-
Uses of ClientBootstrap in org.jboss.netty.example.http.upload
Methods in org.jboss.netty.example.http.upload with parameters of type ClientBootstrap Modifier and Type Method Description private static java.util.List<java.util.Map.Entry<java.lang.String,java.lang.String>>
HttpUploadClient. formget(ClientBootstrap bootstrap, java.lang.String host, int port, java.lang.String get, java.net.URI uriSimple)
Standard usage of HTTP API in Netty without file Upload (get is not able to achieve File upload due to limitation on request size).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 -
Uses of ClientBootstrap in org.jboss.netty.example.uptime
Fields in org.jboss.netty.example.uptime declared as ClientBootstrap Modifier and Type Field Description (package private) ClientBootstrap
UptimeClientHandler. bootstrap
Constructors in org.jboss.netty.example.uptime with parameters of type ClientBootstrap Constructor Description UptimeClientHandler(ClientBootstrap bootstrap, Timer timer)
-