Class NetworkAuthenticationRequired

All Implemented Interfaces:
Serializable, HttpMessage, HttpResponse

@Response @StatusCode(511) @Schema(description="Network Authentication Required") public class NetworkAuthenticationRequired extends BasicHttpException
Exception representing an HTTP 511 (Network Authentication Required).

The client needs to authenticate to gain network access.
Intended for use by intercepting proxies used to control access to the network (e.g., "captive portals" used to require agreement to Terms of Service before granting full Internet access via a Wi-Fi hotspot).

See Also: