public static final class InspectorServer.HttpResponse extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String name,
String value) |
static void |
write400(ByteChannel channel,
String text) |
static void |
write404(ByteChannel channel) |
void |
writeTo(ByteChannel channel) |
public void writeTo(ByteChannel channel) throws IOException
IOExceptionpublic static void write404(ByteChannel channel) throws IOException
IOExceptionpublic static void write400(ByteChannel channel, String text) throws IOException
IOException