| java.lang.Object | ||
| ↳ | com.google.gdata.model.Element | |
| ↳ | com.google.gdata.model.batch.BatchStatus | |
Describes server status information about how an entry was processed in a batch operation.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CODE | The HTTP response code. | ||||||||||
| CONTENT_TYPE | The MIME type for the content of the error message contained in this element. | ||||||||||
| KEY | The key for this element. | ||||||||||
| REASON | The short message describing this status. | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Creates a BatchStatus and initializes it
based on an exception.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a Success status object.
| |||||||||||
Creates a 200 Success status object.
| |||||||||||
Returns the HTTP response code.
| |||||||||||
Returns the error message explaining what went wrong while processing the
request.
| |||||||||||
Returns the MIME type for the content of the error message contained in
this element.
| |||||||||||
Returns the short message describing this status.
| |||||||||||
Returns whether it has the HTTP response code.
| |||||||||||
Returns whether it has the error message explaining what went wrong while
processing the request.
| |||||||||||
Returns whether it has the MIME type for the content of the error message
contained in this element.
| |||||||||||
Returns whether it has the short message describing this status.
| |||||||||||
Registers the metadata for this element.
| |||||||||||
Sets the HTTP response code.
| |||||||||||
Sets the error message explaining what went wrong while processing the
request.
| |||||||||||
Sets the MIME type for the content of the error message contained in this
element.
| |||||||||||
Sets the short message describing this status.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.model.Element
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.batch.IBatchStatus
| |||||||||||
The MIME type for the content of the error message contained in this element.
Default mutable constructor.
Creates a BatchStatus and initializes it based on an exception.
| e | Exception to initialize the status from |
|---|
| obj |
|---|
Returns the HTTP response code.
Returns the error message explaining what went wrong while processing the request.
Returns the MIME type for the content of the error message contained in this element.
Returns the short message describing this status.
Returns whether it has the HTTP response code.
Returns whether it has the error message explaining what went wrong while processing the request.
Returns whether it has the MIME type for the content of the error message contained in this element.
Returns whether it has the short message describing this status.
Registers the metadata for this element.
| registry |
|---|
Sets the HTTP response code.
| code | HTTP response code or null to reset
|
|---|
Sets the error message explaining what went wrong while processing the request.
| content | Error message explaining what went wrong while processing
the request or null to reset
|
|---|
Sets the MIME type for the content of the error message contained in this element.
| contentType | MIME type for the content of the error message contained
in this element or null to reset
|
|---|
Sets the short message describing this status.
| reason | Short message describing this status or null to
reset
|
|---|