class NestingCollectionResourceRouter[CollectionResourceType <: CollectionResource[_, _, _]] extends ResourceRouter with StrictLogging

Linear Supertypes
StrictLogging, ResourceRouter, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NestingCollectionResourceRouter
  2. StrictLogging
  3. ResourceRouter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NestingCollectionResourceRouter(resourceInstance: CollectionResourceType)

Type Members

  1. type ResourceClass = CollectionResourceType

    The resource class this router handles.

    The resource class this router handles.

    Definition Classes
    NestingCollectionResourceRouterResourceRouter

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. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def errorRoute(msg: String, statusCode: Int = Status.METHOD_NOT_ALLOWED): RouteAction
    Attributes
    protected[this]
  9. def executeAction(requestHeader: RequestHeader, optPathKey: CollectionResourceType.OptPathKey, actionName: String): RouteAction
    Attributes
    protected[this]
  10. def executeCreate(requestHeader: RequestHeader, optPathKey: CollectionResourceType.OptPathKey): RouteAction
    Attributes
    protected[this]
  11. def executeDelete(requestHeader: RequestHeader, pathKey: CollectionResourceType.PathKey): RouteAction
    Attributes
    protected[this]
  12. def executeFinder(requestHeader: RequestHeader, optPathKey: CollectionResourceType.OptPathKey, finderName: String): RouteAction
    Attributes
    protected[this]
  13. def executeGet(requestHeader: RequestHeader, pathKey: CollectionResourceType.PathKey): RouteAction
    Attributes
    protected[this]
  14. def executeGetAll(requestHeader: RequestHeader, optPathKey: CollectionResourceType.OptPathKey): RouteAction
    Attributes
    protected[this]
  15. def executeMultiGet(requestHeader: RequestHeader, optPathKey: CollectionResourceType.OptPathKey, ids: Set[CollectionResourceType.KeyType]): RouteAction
    Attributes
    protected[this]
  16. def executePatch(requestHeader: RequestHeader, pathKey: CollectionResourceType.PathKey): RouteAction
    Attributes
    protected[this]
  17. def executePut(requestHeader: RequestHeader, pathKey: CollectionResourceType.PathKey): RouteAction
    Attributes
    protected[this]
  18. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val logger: Logger
    Attributes
    protected
    Definition Classes
    StrictLogging
  23. def mkRequestTags(methodName: String): Map[String, String]

    Constructs a Map used to tag the request.

    Constructs a Map used to tag the request.

    Note: because of a limitation of the mocking framework, this code gracefully handles when resourceInstance.getClass returns null.

    methodName

    The name of the scala method invoked to handle this request.

    Attributes
    protected[this]
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def optPathToAncestor(pathKey: CollectionResourceType.OptPathKey): CollectionResourceType.AncestorKeys

    Helper method to convert an opt path key to the ancestor keys.

    Helper method to convert an opt path key to the ancestor keys.

    pathKey

    The opt path key to convert.

    Attributes
    protected[this]
  28. def pathToAncestor(pathKey: CollectionResourceType.PathKey): CollectionResourceType.AncestorKeys

    Helper method to convert a path key to the ancestor keys.

    Helper method to convert a path key to the ancestor keys.

    pathKey

    The path key to convert.

    Attributes
    protected[this]
  29. val resourceInstance: CollectionResourceType
  30. def routeRequest(path: String, requestHeader: RequestHeader): Option[RouteAction]

    If the request is for this resource, return a RouteAction.

    If the request is for this resource, return a RouteAction. For alternate resources, return None

    Note: by returning Some[RouteAction], that does not mean that there is a valid finder, action, or that all query parameters were parsed correctly.

    path

    The (modified) request path to use for routing request.

    requestHeader

    The request to be handled (for routing & query parameter parsing)

    returns

    Either the Play! action to handle the request, or None indicating this request is for a different resource.

    Definition Classes
    NestingCollectionResourceRouterResourceRouter
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from StrictLogging

Inherited from ResourceRouter

Inherited from AnyRef

Inherited from Any

Ungrouped