io.atomicbits.scraml.generator.codegen

ActionGenerator

case class ActionGenerator(actionCode: ActionCode) extends Product with Serializable

Created by peter on 23/08/15.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ActionGenerator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ActionGenerator(actionCode: ActionCode)

Type Members

  1. sealed trait AcceptHeaderSegment extends HeaderSegment

  2. case class ActionPath(contentHeader: ContentHeaderSegment, acceptHeader: AcceptHeaderSegment, action: RichAction) extends Product with Serializable

  3. case class ActualAcceptHeaderSegment(header: ResponseType) extends AcceptHeaderSegment with Product with Serializable

  4. case class ActualContentHeaderSegment(header: ContentType) extends ContentHeaderSegment with Product with Serializable

  5. sealed trait ContentHeaderSegment extends HeaderSegment

  6. sealed trait HeaderSegment extends AnyRef

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object NoAcceptHeaderSegment extends AcceptHeaderSegment with Product with Serializable

  7. object NoContentHeaderSegment extends ContentHeaderSegment with Product with Serializable

  8. val actionCode: ActionCode

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def generateActionFunctions(resource: RichResource)(implicit lang: Language): ActionFunctionResult

    The reason why we treat all actions of a resource together is that certain paths towards the actual action execution of the resource's actions may be overlapping when it concerns actions that have overlapping mandatory content-type and/or accept header paths.

    The reason why we treat all actions of a resource together is that certain paths towards the actual action execution of the resource's actions may be overlapping when it concerns actions that have overlapping mandatory content-type and/or accept header paths. Although such situations may be rare, we want to support them well, so we pass all actions of a single resource together.

    resource

    The resource whose actions are going to be processed (NOT recursively!)

    returns

    A list of action function definitions or action paths that lead to the action function. Action paths will only be required if multiple contenttype and/or accept headers will lead to a different typed body and/or response (we don't support those yet, but we will do so in the future).

  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped