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
- Alphabetic
- By Inheritance
- ApplicationBaseApiGroup
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ApplicationBaseApiGroup()
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
bindPostRequest(path: String, functionToBind: Function[NV, ApiResponse]): Route
- Attributes
- protected[http]
-
final
def
bindPostRequest[T](path: String, functionToBind: BiFunction[NV, 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[http]
-
final
def
bindPostRequest[T](path: String, functionToBind: Function[T, ApiResponse], requestBodyClazz: Class[T]): Route
- Attributes
- protected[http]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def getFunctionsApplierOnSidechainNodeView(): FunctionsApplierOnSidechainNodeView[TX, H, PM, FPI, NH, S, W, P, NV]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def setFunctionsApplierOnSidechainNodeView(functionsApplierOnSidechainNodeView: FunctionsApplierOnSidechainNodeView[TX, H, PM, FPI, NH, S, W, P, NV]): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated