Class LegacyRestHelper
- java.lang.Object
-
- com.atlassian.confluence.ui.rest.content.LegacyRestHelper
-
@Deprecated public class LegacyRestHelper extends Object
Deprecated.since 7.0.1 , no replacement
-
-
Constructor Summary
Constructors Constructor Description LegacyRestHelper()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Map<String,Object>
createFailureResultMap(IllegalArgumentException e)
Deprecated.Creates a JSON serializable response when a request failsstatic Map<String,Object>
createSuccessResultMap(Iterable<Label> labels)
Deprecated.Creates a JSON serializable response when a request succeeds
-
-
-
Method Detail
-
createFailureResultMap
public static Map<String,Object> createFailureResultMap(IllegalArgumentException e)
Deprecated.Creates a JSON serializable response when a request fails- Parameters:
e
- Exception that caused the request to fail- Returns:
- a JSON serializable Map containing REST response
-
-