@Response(code=101, description="Switching Protocols") @Deprecated public class SwitchingProtocols extends HttpResponse
The requester has asked the server to switch protocols and the server has agreed to do so.
Modifier and Type | Field and Description |
---|---|
static int |
CODE
Deprecated.
HTTP status code
|
static SwitchingProtocols |
INSTANCE
Deprecated.
Reusable instance.
|
static String |
MESSAGE
Deprecated.
Default message
|
Constructor and Description |
---|
SwitchingProtocols()
Deprecated.
Constructor using HTTP-standard message.
|
SwitchingProtocols(String message)
Deprecated.
Constructor using custom message.
|
public static final int CODE
public static final String MESSAGE
public static final SwitchingProtocols INSTANCE
public SwitchingProtocols()
public SwitchingProtocols(String message)
message
- Message to send as the response.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.