Uses of Interface
org.gcube.common.gxrest.response.outbound.ErrorCode
-
Packages that use ErrorCode Package Description org.gcube.common.gxrest.response.entity Core data held by a response.org.gcube.common.gxrest.response.inbound Inbound responses for client applications.org.gcube.common.gxrest.response.outbound Outbound responses for web applications. -
-
Uses of ErrorCode in org.gcube.common.gxrest.response.entity
Constructors in org.gcube.common.gxrest.response.entity with parameters of type ErrorCode Constructor Description SerializableErrorEntity(ErrorCode errorCode) -
Uses of ErrorCode in org.gcube.common.gxrest.response.inbound
Methods in org.gcube.common.gxrest.response.inbound that return ErrorCode Modifier and Type Method Description ErrorCodeGXInboundResponse. getErrorCode()Gets theErrorCodeinside the entity. -
Uses of ErrorCode in org.gcube.common.gxrest.response.outbound
Classes in org.gcube.common.gxrest.response.outbound that implement ErrorCode Modifier and Type Class Description classLocalCodeExceptionA local exception wrapping anErrorCode.Methods in org.gcube.common.gxrest.response.outbound with type parameters of type ErrorCode Modifier and Type Method Description static <E extends Enum<E> & ErrorCode>
ECodeFinder. findAndConvert(ErrorCode code, E[] codes)Finds and convert the given code as enum value.Methods in org.gcube.common.gxrest.response.outbound with parameters of type ErrorCode Modifier and Type Method Description static <E extends Enum<E> & ErrorCode>
ECodeFinder. findAndConvert(ErrorCode code, E[] codes)Finds and convert the given code as enum value.static voidGXOutboundErrorResponse. throwErrorCode(ErrorCode code)Throws the error code to the client.static voidGXOutboundErrorResponse. throwErrorCode(ErrorCode code, javax.ws.rs.core.Response.Status status)Returns the error code to the client with the HTTP status.Constructors in org.gcube.common.gxrest.response.outbound with parameters of type ErrorCode Constructor Description LocalCodeException(ErrorCode code)
-