| Package | Description |
|---|---|
| com.google.gdata.model.batch |
| Modifier and Type | Field and Description |
|---|---|
static ElementKey<String,BatchStatus> |
BatchStatus.KEY
The key for this element.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchStatus |
BatchStatus.createCreatedStatus()
Creates a Success status object.
|
static BatchStatus |
BatchStatus.createSuccessStatus()
Creates a 200 Success status object.
|
BatchStatus |
BatchStatus.setCode(Integer code)
Sets the HTTP response code.
|
BatchStatus |
BatchStatus.setContent(String content)
Sets the error message explaining what went wrong while processing the
request.
|
BatchStatus |
BatchStatus.setContentType(ContentType contentType)
Sets the MIME type for the content of the error message contained in this
element.
|
BatchStatus |
BatchStatus.setReason(String reason)
Sets the short message describing this status.
|
Copyright © 2012. All Rights Reserved.