mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-19 14:55:17 +00:00
Update SwitchingProtocolTest.java
This commit is contained in:
parent
e0f69754c5
commit
8b68230c74
@ -78,7 +78,7 @@ public class SwitchingProtocolTest {
|
||||
server.createContext(
|
||||
someContext,
|
||||
msg -> {
|
||||
byte[] reply = RESPONSE_BODY.getBytes(UTF_8);
|
||||
byte[] reply = RESPONSE_BODY.getBytes(UTF_8);
|
||||
System.err.println("Handling request: " + msg.getRequestURI());
|
||||
try {
|
||||
msg.sendResponseHeaders(msgCode, -1);
|
||||
@ -219,4 +219,4 @@ public class SwitchingProtocolTest {
|
||||
}
|
||||
System.out.println("Client finished.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user