org.simpleframework.http.core.Container Java Examples

The following examples show how to use org.simpleframework.http.core.Container. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: HttpWorkerTest.java    From office-365-connector-plugin with Apache License 2.0 5 votes vote down vote up
@BeforeClass
public static void setUp() throws IOException {
    Container container = new MyHandler();
    Server server = new ContainerServer(container);
    connection = new SocketConnection(server);
    SocketAddress address = new InetSocketAddress(8000);
    connection.connect(address);
}