com.atlassian.confluence.rest.api.model
Class ExceptionConverter

java.lang.Object
  extended by com.atlassian.confluence.rest.api.model.ExceptionConverter

@ExperimentalApi
public class ExceptionConverter
extends Object

Converts ServiceExceptions to HTTP Response codes (per http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html) and back. We use separate inner classes to allow client and server method classloaders to know less about their counterpart methods.


Nested Class Summary
static class ExceptionConverter.AdditionalStatus
          Response.StatusTypes for HTTP response codes not supported directly by Response.Status.
static class ExceptionConverter.Client
           
static class ExceptionConverter.Server
           
 
Field Summary
static javax.ws.rs.core.Response.StatusType NOT_IMPLEMENTED
           
 
Constructor Summary
ExceptionConverter()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_IMPLEMENTED

public static final javax.ws.rs.core.Response.StatusType NOT_IMPLEMENTED
Constructor Detail

ExceptionConverter

public ExceptionConverter()


Copyright © 2003–2015 Atlassian. All rights reserved.