uk.gov.hmrc.play.fsm.JourneyController

# GetAsync0

###
Related Doc: package JourneyController

#### final class GetAsync0[R] extends SingleArgumentActionsDSL[R]

Actions DSL: Action builder wrapping async function returning some value.

Linear Supertypes
SingleArgumentActionsDSL[R], ActionsDSL, AnyRef, Any
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. GetAsync0
2. SingleArgumentActionsDSL
3. ActionsDSL
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1. #### new GetAsync0(get: (Request[_]) ⇒ Future[R])

### Type Members

1. #### final class Apply extends Executable

   Definition Classes
     ActionsDSL

2. #### final class ApplyWithRequest extends Executable

   Definition Classes
     ActionsDSL

3. #### final class BindForm[Payload] extends AnyRef

   Definition Classes
     ActionsDSL

4. #### final class BindFormDerivedFromState[Payload] extends AnyRef

   Definition Classes
     ActionsDSL

5. #### final type GetAsyncFunction[R] = (Request[_]) ⇒ (R) ⇒ Future[R]

   Definition Classes
     SingleArgumentActionsDSL → ActionsDSL

6. #### final class ParseJson[Entity] extends AnyRef

   Definition Classes
     ActionsDSL

7. #### trait Resolver extends AnyRef

   Definition Classes
     ActionsDSL

8. #### final class Show[S <: State] extends Executable

   Definition Classes
     ActionsDSL

9. #### final class ShowCurrentState extends Executable

   Definition Classes
     ActionsDSL

10. #### final class SingleArgumentResolver extends Resolver

    Definition Classes
      SingleArgumentActionsDSL

11. #### final type Transition = (R) ⇒ JourneyModel.Transition

    Definition Classes
      SingleArgumentActionsDSL → ActionsDSL

12. #### final type TransitionWith[P] = (R) ⇒ (P) ⇒ JourneyModel.Transition

    Definition Classes
      SingleArgumentActionsDSL → ActionsDSL

13. #### final type TransitionWithRequest = (Request[_]) ⇒ (R) ⇒ JourneyModel.Transition

    Definition Classes
      SingleArgumentActionsDSL → ActionsDSL

14. #### final type TransitionWithRequestAnd[P] = (Request[_]) ⇒ (R) ⇒ (P) ⇒ JourneyModel.Transition

    Definition Classes
      SingleArgumentActionsDSL → ActionsDSL

15. #### final type TupleWith[R] = (R, R)

    Definition Classes
      SingleArgumentActionsDSL → ActionsDSL

16. #### final class WaitFor[S <: State] extends Executable

    Definition Classes
      ActionsDSL

### 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 apply(transition: Transition): Apply

   Apply state transition and redirect to the new state.

   Apply state transition and redirect to the new state.

   Definition Classes
     ActionsDSL
   Note

     to alter behaviour follow with redirectOrDisplayIfSame or redirectOrDisplayIf

5. #### final def applyWithRequest(transition: TransitionWithRequest): ApplyWithRequest

   Apply state transition and redirect to the new state.

   Apply state transition and redirect to the new state.

   Definition Classes
     ActionsDSL

6. #### final def asInstanceOf[T0]: T0

   Definition Classes
     Any

7. #### final def bindForm[Payload](form: Form[Payload]): BindForm[Payload]

   Bind the form to the request.

   Bind the form to the request. If valid, apply the following transition, if not valid, redirect back to the current state with failed form.

   Payload

     form output type

   Definition Classes
     ActionsDSL

8. #### final def bindFormDerivedFromState[Payload](form: (State) ⇒ Form[Payload]): BindFormDerivedFromState[Payload]

   Bind the form, derived from the current state, to the request.

   Bind the form, derived from the current state, to the request. If valid, apply the following transition, if not valid, redirect back to the current state with failed form.

   Payload

     form output type

   Definition Classes
     ActionsDSL

9. #### def clone(): AnyRef

   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )

10. #### final def eq(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

11. #### def equals(arg0: Any): Boolean

    Definition Classes
      AnyRef → Any

12. #### def finalize(): Unit

    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )

13. #### final def getAsync[R](get: GetAsyncFunction[R]): GetAsync1[R, R]

    Call async function and, if successful, propagate returned value as a next input argument to subsequent transitions.

    Call async function and, if successful, propagate returned value as a next input argument to subsequent transitions.

    Definition Classes
      SingleArgumentActionsDSL

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

    Definition Classes
      AnyRef → Any

15. #### def hashCode(): Int

    Definition Classes
      AnyRef → Any

16. #### final def isInstanceOf[T0]: Boolean

    Definition Classes
      Any

17. #### final def ne(arg0: AnyRef): Boolean

    Definition Classes
      AnyRef

18. #### final def notify(): Unit

    Definition Classes
      AnyRef

19. #### final def notifyAll(): Unit

    Definition Classes
      AnyRef

20. #### final def parseJson[Entity](implicit arg0: Reads[Entity]): ParseJson[Entity]

    Parse the JSON body of the request.

    Parse the JSON body of the request. If valid, apply the following transition, if not valid, throw an exception.

    Entity

      entity

    Definition Classes
      ActionsDSL

21. #### final def parseJsonWithFallback[Entity](ifFailure: Result)(implicit arg0: Reads[Entity]): ParseJson[Entity]

    Parse the JSON body of the request.

    Parse the JSON body of the request. If valid, apply the following transition, if not valid, return the alternative result.

    Entity

      entity

    Definition Classes
      ActionsDSL

22. #### final def show[S <: State](implicit arg0: ClassTag[S]): Show[S]

    Display if the current state is of type S, otherwise redirect back to the root state.

    Display if the current state is of type S, otherwise redirect back to the root state.

    S

      type of the expected current state

    Definition Classes
      ActionsDSL
    Note

      to alter show behaviour follow with: - orRollback, - orRollbackUsing, - orApply, - orApplyWithRequest - orRedirectToCurrentState - orRedirectToStart - orReturn - orRedirectTo

23. #### final val showCurrentState: Executable

    Displays the current state using default renderState function.

    Displays the current state using default renderState function. If there is no state yet then redirects to the start.

    Definition Classes
      ActionsDSL
    Note

      follow with renderUsing to change the default renderer.

24. #### final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
      AnyRef

25. #### def toString(): String

    Definition Classes
      AnyRef → Any

26. #### final def wait(): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

27. #### final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

28. #### final def wait(arg0: Long): Unit

    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

29. #### final def waitForStateAndDisplay[S <: State](timeoutInSeconds: Int)(implicit arg0: ClassTag[S]): WaitFor[S]

    Wait until the state becomes of S type and display it using default renderState, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Wait until the state becomes of S type and display it using default renderState, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Definition Classes
      ActionsDSL

30. #### final def waitForStateAndDisplayUsing[S <: State](timeoutInSeconds: Int, renderer: Renderer)(implicit arg0: ClassTag[S]): WaitFor[S]

    Wait until the state becomes of S type and display it using custom renderer, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Wait until the state becomes of S type and display it using custom renderer, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Definition Classes
      ActionsDSL

31. #### final def waitForStateThenRedirect[S <: State](timeoutInSeconds: Int)(implicit arg0: ClassTag[S]): WaitFor[S]

    Wait until the state becomes of S type and redirect to it, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Wait until the state becomes of S type and redirect to it, or if timeout expires raise a java.util.concurrent.TimeoutException.

    Definition Classes
      ActionsDSL

32. #### final def wrap(body: (Resolver) ⇒ Future[Result])(implicit request: Request[_], ec: ExecutionContext): Future[Result]

    Definition Classes
      GetAsync0 → ActionsDSL

### Inherited from SingleArgumentActionsDSL[R]

### Inherited from ActionsDSL

### Inherited from AnyRef

### Inherited from Any

### Ungrouped