Ok
@Response(code=200, description="OK") @Deprecated public class Ok extends HttpResponse
Standard response for successful HTTP requests. The actual response will depend on the request method used. In a GET request, the response will contain an entity corresponding to the requested resource. In a POST request, the response will contain an entity describing or containing the result of the action.
Modifier and Type | Field and Description |
---|---|
static int |
CODE
Deprecated.
HTTP status code
|
static Ok |
INSTANCE
Deprecated.
Reusable instance.
|
static String |
MESSAGE
Deprecated.
Default message
|
static Ok |
OK
Deprecated.
Reusable instance.
|
public static final int CODE
public static final String MESSAGE
Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.