PartialContent
@Response(code=206, description="Partial Content") @Deprecated public class PartialContent extends HttpResponse
The server is delivering only part of the resource (byte serving) due to a range header sent by the client. The range header is used by HTTP clients to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams.
Modifier and Type | Field and Description |
---|---|
static int |
CODE
Deprecated.
HTTP status code
|
static PartialContent |
INSTANCE
Deprecated.
Reusable instance.
|
static String |
MESSAGE
Deprecated.
Default message
|
Constructor and Description |
---|
PartialContent()
Deprecated.
Constructor using HTTP-standard message.
|
PartialContent(String message)
Deprecated.
Constructor using custom message.
|
public static final int CODE
public static final String MESSAGE
public static final PartialContent INSTANCE
public PartialContent()
public PartialContent(String message)
message
- Message to send as the response.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.