use of org.mortbay.http.HttpContext in project wso2-axis2-transports by wso2.
the class JettyServer method setUp.
@Setup
@SuppressWarnings("unused")
private void setUp(HttpTestEnvironment env) throws Exception {
server = new Server();
SocketListener listener = new SocketListener();
listener.setPort(env.getServerPort());
server.addListener(listener);
context = new HttpContext(server, Channel.CONTEXT_PATH + "/*");
server.start();
}
Aggregations