(这个是上面参考链接的内容,解释的很清楚)
Exception in thread "main" java.lang.ExceptionInInitializerError at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:181) at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:168) at org.openqa.selenium.chrome.ChromeDriver
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.HttpStatus;
import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.commons.httpclient.methods.multipart.FilePart;
import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
import org.apache.commons.httpclient.methods.multipart.Part;
import org.apache.commons.httpclient.methods.multipart.StringPart;
import org.apache.commons.httpclient.protocol.Protocol;
import org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory;
import org.apache.commons.httpclient.util.HttpURLConnection;
httpclient-4.5.3中文版.CHM
org.apache.http.auth 客户端HTTP认证API。
org.apache.http.auth.params 已过时。
org.apache.http.client 客户端HTTP通信API。
org.apache.http.client.config 客户端配置API。
org.apache.http.client.entity 客户端特定的HTTP实体实现。
org.apache.http.client.methods 标准HTTP方法实现。
org.apache.http.client.params 已过时。
org.apache.http.client.protocol 客户端特定的HTTP协议处理程序。
org.apache.http.client.utils 客户端实用程序类。
org.apache.http.conn 客户端连接管理API。
import cn.enjoyedu.server.HttpServer;
import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelOpti.
Netty的主页:http://netty.io/index.html
使用的Netty的版本:netty-4.0.23.Final.tar.bz2 ‐
15-Aug-2014 (Stable, Recommended)
Http 消息格式:
Http request:
Method path-to-resource HTTPVersion-number
Header-name-1