public class TestHttpServer extends Object implements com.sun.net.httpserver.HttpHandler
| Constructor and Description | 
|---|
| TestHttpServer(String content) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepted() | 
| void | handle(com.sun.net.httpserver.HttpExchange t) | 
| void | stop() | 
| String | url() | 
public TestHttpServer(String content) throws IOException
IOExceptionpublic String url()
public void handle(com.sun.net.httpserver.HttpExchange t)
            throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOExceptionpublic boolean accepted()
public void stop()
Copyright © 2021. All rights reserved.