public interface Http1UpgradeResponse
HTTP/1 response operations available to a routed protocol upgrade.
-
Method Summary
Modifier and TypeMethodDescriptionheaders()Response headers.voidSend an empty response with the provided status.voidsendSwitchingProtocols(Headers requiredHeaders) Send the configured101 Switching Protocolsresponse.
-
Method Details
-
headers
ServerResponseHeaders headers()Response headers.- Returns:
- response headers
-
send
Send an empty response with the provided status.- Parameters:
status- response status
-
sendSwitchingProtocols
Send the configured101 Switching Protocolsresponse.- Parameters:
requiredHeaders- protocol headers that must be present in the final response
-