package http
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- abstract class ApplicationBaseApiGroup[TX <: Transaction, H <: SidechainBlockHeaderBase, PM <: SidechainBlockBase[TX, H], FPI <: AbstractFeePaymentsInfo, NH <: NodeHistoryBase[TX, H, PM, FPI], S <: NodeStateBase, W <: NodeWalletBase, P <: NodeMemoryPoolBase[TX], NV <: SidechainNodeViewBase[TX, H, PM, FPI, NH, S, W, P]] extends AnyRef
- trait ErrorResponse extends ApiResponse
- trait FunctionsApplierOnSidechainNodeView[TX <: Transaction, H <: SidechainBlockHeaderBase, PM <: SidechainBlockBase[TX, H], FPI <: AbstractFeePaymentsInfo, NH <: NodeHistoryBase[TX, H, PM, FPI], S <: NodeStateBase, W <: NodeWalletBase, P <: NodeMemoryPoolBase[TX], NV <: SidechainNodeViewBase[TX, H, PM, FPI, NH, S, W, P]] extends AnyRef
- abstract class InternalErrorResponse extends ErrorResponse
- class InternalExceptionApiErrorResponse extends InternalErrorResponse
- case class SidechainApiError(statusCode: StatusCode, reason: String = "") extends Product with Serializable
-
case class
SidechainApiErrorResponseSchema(error: SidechainApiManagedError) extends Product with Serializable
A SidechainApiErrorResponseSchema represents a business logic error, not HTTP error.
A SidechainApiErrorResponseSchema represents a business logic error, not HTTP error. Each business logic error will be serialized with the following format:
{ "error": { "code": ... "description": ... "detail": ... } }
- Annotations
- @JsonView()
-
case class
SidechainApiManagedError(code: String, description: String, detail: Option[String] = None) extends Product with Serializable
- Annotations
- @JsonView()
- class SidechainApiResponse extends AnyRef
-
case class
SidechainApiResponseBody(result: Any) extends Product with Serializable
General structure of core Api responses.
General structure of core Api responses. Each response will be serialized with the following format:
{ "result": { 'the effective result } }
For business logic errors use SidechainApiErrorResponseSchema
- Annotations
- @JsonView()
- class SidechainBlockActor[PMOD <: PersistentNodeViewModifier, SI <: SidechainSyncInfo, HR <: HistoryReader[PMOD, SI]] extends Actor with SparkzLogging
- class SidechainTransactionActor[T <: Transaction] extends Actor with SparkzLogging
- class SidechainTransactionRateLimiterActor extends Actor with SparkzLogging
- trait SuccessResponse extends ApiResponse
Value Members
- object ApiResponseUtil
- object JacksonSupport
- object SidechainApiClient extends App
- object SidechainApiError extends Serializable
- object SidechainApiErrorHandler
- object SidechainApiRejectionHandler
- object SidechainApiResponse
- object SidechainBlockActor
- object SidechainBlockActorRef
- object SidechainTransactionActor
- object SidechainTransactionActorRef
- object SidechainTransactionRateLimiterActorRef