Class ExceptionConverter
- java.lang.Object
-
- com.atlassian.confluence.rest.api.model.ExceptionConverter
-
@ExperimentalApi public class ExceptionConverter extends Object
The REST server-side conversion between Confluence REST API modelServiceException
s and HTTP Response codes (per http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).See
com.atlassian.confluence.rest.client.model.ExceptionConverter.Client
for the reverse conversion.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExceptionConverter.AdditionalStatus
Response.StatusType
s for HTTP response codes not supported directly byResponse.Status
.static class
ExceptionConverter.Server
Converts Confluence REST API modelServiceException
s intoRestError
entities, the standardised error response format produced by our REST resources.
-
Field Summary
Fields Modifier and Type Field Description static javax.ws.rs.core.Response.StatusType
NOT_IMPLEMENTED
-
Constructor Summary
Constructors Constructor Description ExceptionConverter()
-