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
IOException
public String url()
public void handle(com.sun.net.httpserver.HttpExchange t) throws IOException
handle
in interface com.sun.net.httpserver.HttpHandler
IOException
public boolean accepted()
public void stop()
Copyright © 2020. All rights reserved.