Package ubic.gemma.rest.util
Class ResponseDataObject<T>
java.lang.Object
ubic.gemma.rest.util.ResponseDataObject<T>
- Direct Known Subclasses:
- AnalysisResultSetsWebService.PaginatedResultsResponseDataObjectDifferentialExpressionAnalysisResultSetValueObject,- DatasetsWebService.ResponseDataObjectCellTypeAssignmentValueObject,- DatasetsWebService.ResponseDataObjectExpressionExperimentValueObject,- DatasetsWebService.ResponseDataObjectListCellLevelCharacteristicsValueObject,- DatasetsWebService.ResponseDataObjectSingleCellDimensionValueObject,- FilteredResponseDataObject,- PaginatedResponseDataObject,- SearchWebService.SearchResultsResponseDataObject
Wrapper for a non-error response payload compliant with the
 Google JSON style-guide
- Author:
- tesarst
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<S extends ResponseDataObject<T>>
 SaddWarnings(Iterable<Throwable> throwables, String location, LocationType locationType) Add a bunch of warnings togetWarnings().getData()A list of warnings applicable to the request.
- 
Constructor Details- 
ResponseDataObject- Parameters:
- payload- the data to be serialised and returned as the response payload.
 
 
- 
- 
Method Details- 
addWarningspublic <S extends ResponseDataObject<T>> S addWarnings(Iterable<Throwable> throwables, String location, LocationType locationType) Add a bunch of warnings togetWarnings().
- 
getData
- 
getWarningsA list of warnings applicable to the request.This is an extension to the Google JSON style-guide. 
 
-