Packages

c

io.horizen.utxo.api.http

SidechainApplicationApiGroup

abstract class SidechainApplicationApiGroup extends ApplicationBaseApiGroup[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock, SidechainFeePaymentsInfo, NodeHistory, NodeState, NodeWallet, NodeMemoryPool, SidechainNodeView]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SidechainApplicationApiGroup
  2. ApplicationBaseApiGroup
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SidechainApplicationApiGroup()

Abstract Value Members

  1. abstract def basePath(): String
    Definition Classes
    ApplicationBaseApiGroup
  2. abstract def getRoutes(): List[Route]
    Definition Classes
    ApplicationBaseApiGroup

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def bindPostRequest(path: String, functionToBind: Function[SidechainNodeView, ApiResponse]): Route
    Attributes
    protected[api.http]
    Definition Classes
    ApplicationBaseApiGroup
  6. final def bindPostRequest[T](path: String, functionToBind: BiFunction[SidechainNodeView, T, ApiResponse], clazz: Class[T]): Route

    Function to bind functionToBind have two parameters SidechainNodeView and T.

    Function to bind functionToBind have two parameters SidechainNodeView and T. However Akka route could accept only function with one input parameter T. Where T is object created from HTTP request. So we need to convert our (SidechainNodeView, T) -> ApiResponse function to T -> ApiResponse. We do it in the next way: 1. We have function applyBiFunctionOnSidechainNodeView(T functionParameter, BiFunction<SidechainNodeView, T, ApiResponse> func) which take as input functionToBind parameter and functionToBind itself 2. Function applyBiFunctionOnSidechainNodeView know the proper way to apply functionToBind on SidechainNodeView with functionParameter 3. We create new anonymous transformed function based on applyBiFunctionOnSidechainNodeView by partially applying functionToBind on applyBiFunctionOnSidechainNodeView, in other words we create anonymous function object which save functionToBind function as internal variable and expect input parameter T and use way described in applyBiFunctionOnSidechainNodeView. 4. Anonymous transformed function is used for creating Akka route as in previous createAkkaRoute function.

    Attributes
    protected[api.http]
    Definition Classes
    ApplicationBaseApiGroup
  7. final def bindPostRequest[T](path: String, functionToBind: Function[T, ApiResponse], requestBodyClazz: Class[T]): Route
    Attributes
    protected[api.http]
    Definition Classes
    ApplicationBaseApiGroup
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. final def getFunctionsApplierOnSidechainNodeView(): FunctionsApplierOnSidechainNodeView[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock, SidechainFeePaymentsInfo, NodeHistory, NodeState, NodeWallet, NodeMemoryPool, SidechainNodeView]
    Definition Classes
    ApplicationBaseApiGroup
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def setFunctionsApplierOnSidechainNodeView(functionsApplierOnSidechainNodeView: FunctionsApplierOnSidechainNodeView[BoxTransaction[Proposition, Box[Proposition]], SidechainBlockHeader, SidechainBlock, SidechainFeePaymentsInfo, NodeHistory, NodeState, NodeWallet, NodeMemoryPool, SidechainNodeView]): Unit
    Definition Classes
    ApplicationBaseApiGroup
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Ungrouped