@Response(code=207, description="Multi-Status") public class MultiStatus extends HttpResponse
The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.
Modifier and Type | Field and Description |
---|---|
static int |
CODE
HTTP status code
|
static MultiStatus |
INSTANCE
Reusable instance.
|
static String |
MESSAGE
Default message
|
Constructor and Description |
---|
MultiStatus()
Constructor using HTTP-standard message.
|
MultiStatus(String message)
Constructor using custom message.
|
public static final int CODE
public static final String MESSAGE
public static final MultiStatus INSTANCE
public MultiStatus()
public MultiStatus(String message)
message
- Message to send as the response.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.