@Response(code=103, description="Early Hints") @Deprecated public class EarlyHints extends HttpResponse
EarlyHints
Used to return some response headers before final HTTP message.
Modifier and Type | Field and Description |
---|---|
static int |
CODE
Deprecated.
HTTP status code
|
static EarlyHints |
INSTANCE
Deprecated.
Reusable instance.
|
static String |
MESSAGE
Deprecated.
Default message
|
Constructor and Description |
---|
EarlyHints()
Deprecated.
Constructor using HTTP-standard message.
|
EarlyHints(String message)
Deprecated.
Constructor using custom message.
|
public static final int CODE
public static final String MESSAGE
public static final EarlyHints INSTANCE
public EarlyHints()
public EarlyHints(String message)
message
- Message to send as the response.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.