abstract class ExposesREST[ServerRPCType] extends AnyRef
Base trait for anything that exposes REST interface.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExposesREST
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ExposesREST(localRest: ServerRPCType)(implicit arg0: ValidServerREST[ServerRPCType])
Abstract Value Members
- abstract val framework: UdashRESTFramework
-
abstract
def
headerArgumentToRaw(raw: String, isStringArg: Boolean): RawValue
Transform
Stringfrom HTTP request header intoRawValue. -
abstract
def
localRpcAsRaw: UdashRESTFramework.AsRawRPC[ServerRPCType]
This allows the RPC implementation to be wrapped in raw RPC which will translate raw calls coming from network into calls on actual RPC implementation.
This allows the RPC implementation to be wrapped in raw RPC which will translate raw calls coming from network into calls on actual RPC implementation.
- Attributes
- protected
-
abstract
def
queryArgumentToRaw(raw: String, isStringArg: Boolean): RawValue
Transform
Stringfrom HTTP request query argument intoRawValue. -
abstract
val
rpcMetadata: UdashRESTFramework.RPCMetadata[ServerRPCType]
- Attributes
- protected
-
abstract
def
urlPartToRaw(raw: String, isStringArg: Boolean): RawValue
Transform
Stringfrom URL part intoRawValue.
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def handleRestCall(req: HttpServletRequest, httpMethod: Class[_ <: RESTMethod])(implicit ec: ExecutionContext): Future[String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
lazy val
rawLocalRpc: UdashRESTFramework.RawRPC
- Attributes
- protected
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )