< Back
 

# Packages

-  package root
  Definition Classes
    root
-  package uk
  Definition Classes
    root
-  package gov
  Definition Classes
    uk
-  package hmrc
  Definition Classes
    gov
-  package play
  Definition Classes
    hmrc
-  package bootstrap
  Definition Classes
    play
-  package controller
  Definition Classes
    bootstrap
- FrontendBaseController
- FrontendController
- FrontendHeaderCarrierProvider

c

uk.gov.hmrc.play.bootstrap.controller

# FrontendController 

###

#### abstract class FrontendController extends FrontendBaseController

Linear Supertypes
FrontendBaseController, FrontendHeaderCarrierProvider, WithJsonBody, Utf8MimeTypes, MessagesBaseController, BaseControllerHelpers, ControllerHelpers, RequestImplicits, Rendering, RequestExtractors, AcceptExtractors, ContentTypes, HeaderNames, play.api.http.Status, HttpProtocol, Results, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. FrontendController
2. FrontendBaseController
3. FrontendHeaderCarrierProvider
4. WithJsonBody
5. Utf8MimeTypes
6. MessagesBaseController
7. BaseControllerHelpers
8. ControllerHelpers
9. RequestImplicits
10. Rendering
11. RequestExtractors
12. AcceptExtractors
13. ContentTypes
14. HeaderNames
15. Status
16. HttpProtocol
17. Results
18. AnyRef
19. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new FrontendController(controllerComponents: MessagesControllerComponents)

### Type Members

1.  class Status extends Result
   Definition Classes
     Results

### 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.  val ACCEPT: String
   Definition Classes
     HeaderNames
5.  val ACCEPTED: Int
   Definition Classes
     Status
6.  val ACCEPT_CHARSET: String
   Definition Classes
     HeaderNames
7.  val ACCEPT_ENCODING: String
   Definition Classes
     HeaderNames
8.  val ACCEPT_LANGUAGE: String
   Definition Classes
     HeaderNames
9.  val ACCEPT_RANGES: String
   Definition Classes
     HeaderNames
10.  val ACCESS_CONTROL_ALLOW_CREDENTIALS: String
    Definition Classes
      HeaderNames
11.  val ACCESS_CONTROL_ALLOW_HEADERS: String
    Definition Classes
      HeaderNames
12.  val ACCESS_CONTROL_ALLOW_METHODS: String
    Definition Classes
      HeaderNames
13.  val ACCESS_CONTROL_ALLOW_ORIGIN: String
    Definition Classes
      HeaderNames
14.  val ACCESS_CONTROL_EXPOSE_HEADERS: String
    Definition Classes
      HeaderNames
15.  val ACCESS_CONTROL_MAX_AGE: String
    Definition Classes
      HeaderNames
16.  val ACCESS_CONTROL_REQUEST_HEADERS: String
    Definition Classes
      HeaderNames
17.  val ACCESS_CONTROL_REQUEST_METHOD: String
    Definition Classes
      HeaderNames
18.  val AGE: String
    Definition Classes
      HeaderNames
19.  val ALLOW: String
    Definition Classes
      HeaderNames
20.  val AUTHORIZATION: String
    Definition Classes
      HeaderNames
21.  val Accepted: Status
    Definition Classes
      Results
22.  def Action: ActionBuilder[MessagesRequest, AnyContent]
    Definition Classes
      MessagesBaseController
23.  val BAD_GATEWAY: Int
    Definition Classes
      Status
24.  val BAD_REQUEST: Int
    Definition Classes
      Status
25.  val BINARY: String
    Definition Classes
      ContentTypes
26.  val BadGateway: Status
    Definition Classes
      Results
27.  val BadRequest: Status
    Definition Classes
      Results
28.  val CACHE_CONTROL: String
    Definition Classes
      HeaderNames
29.  val CACHE_MANIFEST: String
    Definition Classes
      ContentTypes
30.  val CHUNKED: String
    Definition Classes
      HttpProtocol
31.  val CONFLICT: Int
    Definition Classes
      Status
32.  val CONNECTION: String
    Definition Classes
      HeaderNames
33.  val CONTENT_DISPOSITION: String
    Definition Classes
      HeaderNames
34.  val CONTENT_ENCODING: String
    Definition Classes
      HeaderNames
35.  val CONTENT_LANGUAGE: String
    Definition Classes
      HeaderNames
36.  val CONTENT_LENGTH: String
    Definition Classes
      HeaderNames
37.  val CONTENT_LOCATION: String
    Definition Classes
      HeaderNames
38.  val CONTENT_MD5: String
    Definition Classes
      HeaderNames
39.  val CONTENT_RANGE: String
    Definition Classes
      HeaderNames
40.  val CONTENT_TRANSFER_ENCODING: String
    Definition Classes
      HeaderNames
41.  val CONTENT_TYPE: String
    Definition Classes
      HeaderNames
42.  val CONTINUE: Int
    Definition Classes
      Status
43.  val COOKIE: String
    Definition Classes
      HeaderNames
44.  val CREATED: Int
    Definition Classes
      Status
45.  def CSS(implicit codec: Codec): String
    Definition Classes
      ContentTypes
46.  val Conflict: Status
    Definition Classes
      Results
47.  val Continue: Result
    Definition Classes
      Results
48.  val Created: Status
    Definition Classes
      Results
49.  val DATE: String
    Definition Classes
      HeaderNames
50.  val ETAG: String
    Definition Classes
      HeaderNames
51.  def EVENT_STREAM(implicit codec: Codec): String
    Definition Classes
      ContentTypes
52.  val EXPECT: String
    Definition Classes
      HeaderNames
53.  val EXPECTATION_FAILED: Int
    Definition Classes
      Status
54.  val EXPIRES: String
    Definition Classes
      HeaderNames
55.  val EntityTooLarge: Status
    Definition Classes
      Results
56.  val ExpectationFailed: Status
    Definition Classes
      Results
57.  val FAILED_DEPENDENCY: Int
    Definition Classes
      Status
58.  val FORBIDDEN: Int
    Definition Classes
      Status
59.  val FORM: String
    Definition Classes
      ContentTypes
60.  val FORWARDED: String
    Definition Classes
      HeaderNames
61.  val FOUND: Int
    Definition Classes
      Status
62.  val FROM: String
    Definition Classes
      HeaderNames
63.  val FailedDependency: Status
    Definition Classes
      Results
64.  val Forbidden: Status
    Definition Classes
      Results
65.  def Found(url: String): Result
    Definition Classes
      Results
66.  val GATEWAY_TIMEOUT: Int
    Definition Classes
      Status
67.  val GONE: Int
    Definition Classes
      Status
68.  val GatewayTimeout: Status
    Definition Classes
      Results
69.  val Gone: Status
    Definition Classes
      Results
70.  val HOST: String
    Definition Classes
      HeaderNames
71.  def HTML(implicit codec: Codec): String
    Definition Classes
      Utf8MimeTypes
72.  val HTTP_1_0: String
    Definition Classes
      HttpProtocol
73.  val HTTP_1_1: String
    Definition Classes
      HttpProtocol
74.  val HTTP_VERSION_NOT_SUPPORTED: Int
    Definition Classes
      Status
75.  val HttpVersionNotSupported: Status
    Definition Classes
      Results
76.  val IF_MATCH: String
    Definition Classes
      HeaderNames
77.  val IF_MODIFIED_SINCE: String
    Definition Classes
      HeaderNames
78.  val IF_NONE_MATCH: String
    Definition Classes
      HeaderNames
79.  val IF_RANGE: String
    Definition Classes
      HeaderNames
80.  val IF_UNMODIFIED_SINCE: String
    Definition Classes
      HeaderNames
81.  val IM_A_TEAPOT: Int
    Definition Classes
      Status
82.  val INSUFFICIENT_STORAGE: Int
    Definition Classes
      Status
83.  val INTERNAL_SERVER_ERROR: Int
    Definition Classes
      Status
84.  val ImATeapot: Status
    Definition Classes
      Results
85.  val InsufficientStorage: Status
    Definition Classes
      Results
86.  val InternalServerError: Status
    Definition Classes
      Results
87.  def JAVASCRIPT(implicit codec: Codec): String
    Definition Classes
      ContentTypes
88.  val JSON: String
    Definition Classes
      Utf8MimeTypes
89.  val LAST_MODIFIED: String
    Definition Classes
      HeaderNames
90.  val LENGTH_REQUIRED: Int
    Definition Classes
      Status
91.  val LINK: String
    Definition Classes
      HeaderNames
92.  val LOCATION: String
    Definition Classes
      HeaderNames
93.  val LOCKED: Int
    Definition Classes
      Status
94.  val Locked: Status
    Definition Classes
      Results
95.  val MAX_FORWARDS: String
    Definition Classes
      HeaderNames
96.  val METHOD_NOT_ALLOWED: Int
    Definition Classes
      Status
97.  val MOVED_PERMANENTLY: Int
    Definition Classes
      Status
98.  val MULTIPLE_CHOICES: Int
    Definition Classes
      Status
99.  val MULTI_STATUS: Int
    Definition Classes
      Status
100.  val MethodNotAllowed: Status
     Definition Classes
       Results
101.  def MovedPermanently(url: String): Result
     Definition Classes
       Results
102.  val MultiStatus: Status
     Definition Classes
       Results
103.  val NON_AUTHORITATIVE_INFORMATION: Int
     Definition Classes
       Status
104.  val NOT_ACCEPTABLE: Int
     Definition Classes
       Status
105.  val NOT_FOUND: Int
     Definition Classes
       Status
106.  val NOT_IMPLEMENTED: Int
     Definition Classes
       Status
107.  val NOT_MODIFIED: Int
     Definition Classes
       Status
108.  val NO_CONTENT: Int
     Definition Classes
       Status
109.  val NoContent: Result
     Definition Classes
       Results
110.  val NonAuthoritativeInformation: Status
     Definition Classes
       Results
111.  val NotAcceptable: Status
     Definition Classes
       Results
112.  val NotFound: Status
     Definition Classes
       Results
113.  val NotImplemented: Status
     Definition Classes
       Results
114.  val NotModified: Result
     Definition Classes
       Results
115.  val OK: Int
     Definition Classes
       Status
116.  val ORIGIN: String
     Definition Classes
       HeaderNames
117.  val Ok: Status
     Definition Classes
       Results
118.  val PARTIAL_CONTENT: Int
     Definition Classes
       Status
119.  val PAYMENT_REQUIRED: Int
     Definition Classes
       Status
120.  val PERMANENT_REDIRECT: Int
     Definition Classes
       Status
121.  val PRAGMA: String
     Definition Classes
       HeaderNames
122.  val PRECONDITION_FAILED: Int
     Definition Classes
       Status
123.  val PROXY_AUTHENTICATE: String
     Definition Classes
       HeaderNames
124.  val PROXY_AUTHENTICATION_REQUIRED: Int
     Definition Classes
       Status
125.  val PROXY_AUTHORIZATION: String
     Definition Classes
       HeaderNames
126.  val PartialContent: Status
     Definition Classes
       Results
127.  val PaymentRequired: Status
     Definition Classes
       Results
128.  def PermanentRedirect(url: String): Result
     Definition Classes
       Results
129.  val PreconditionFailed: Status
     Definition Classes
       Results
130.  val RANGE: String
     Definition Classes
       HeaderNames
131.  val REFERER: String
     Definition Classes
       HeaderNames
132.  val REQUESTED_RANGE_NOT_SATISFIABLE: Int
     Definition Classes
       Status
133.  val REQUEST_ENTITY_TOO_LARGE: Int
     Definition Classes
       Status
134.  final val REQUEST_HEADER_FIELDS_TOO_LARGE: Int(431)
     Definition Classes
       Status
135.  val REQUEST_TIMEOUT: Int
     Definition Classes
       Status
136.  val REQUEST_URI_TOO_LONG: Int
     Definition Classes
       Status
137.  val RESET_CONTENT: Int
     Definition Classes
       Status
138.  val RETRY_AFTER: String
     Definition Classes
       HeaderNames
139.  def Redirect(call: Call, status: Int): Result
     Definition Classes
       Results
140.  def Redirect(call: Call): Result
     Definition Classes
       Results
141.  def Redirect(url: String, queryString: Map[String, Seq[String]], status: Int): Result
     Definition Classes
       Results
142.  def Redirect(url: String, status: Int): Result
     Definition Classes
       Results
143.  val RequestTimeout: Status
     Definition Classes
       Results
144.  val ResetContent: Result
     Definition Classes
       Results
145.  val SEE_OTHER: Int
     Definition Classes
       Status
146.  val SERVER: String
     Definition Classes
       HeaderNames
147.  val SERVICE_UNAVAILABLE: Int
     Definition Classes
       Status
148.  val SET_COOKIE: String
     Definition Classes
       HeaderNames
149.  val SET_COOKIE2: String
     Definition Classes
       HeaderNames
150.  val STRICT_TRANSPORT_SECURITY: String
     Definition Classes
       HeaderNames
151.  val SWITCHING_PROTOCOLS: Int
     Definition Classes
       Status
152.  def SeeOther(url: String): Result
     Definition Classes
       Results
153.  val ServiceUnavailable: Status
     Definition Classes
       Results
154.  def Status(code: Int): Status
     Definition Classes
       Results
155.  val SwitchingProtocols: Result
     Definition Classes
       Results
156.  val TE: String
     Definition Classes
       HeaderNames
157.  val TEMPORARY_REDIRECT: Int
     Definition Classes
       Status
158.  def TEXT(implicit codec: Codec): String
     Definition Classes
       ContentTypes
159.  lazy val TODO: Action[AnyContent]
     Definition Classes
       ControllerHelpers
160.  val TOO_MANY_REQUESTS: Int
     Definition Classes
       Status
161.  val TRAILER: String
     Definition Classes
       HeaderNames
162.  val TRANSFER_ENCODING: String
     Definition Classes
       HeaderNames
163.  def TemporaryRedirect(url: String): Result
     Definition Classes
       Results
164.  val TooManyRequests: Status
     Definition Classes
       Results
165.  val UNAUTHORIZED: Int
     Definition Classes
       Status
166.  val UNPROCESSABLE_ENTITY: Int
     Definition Classes
       Status
167.  val UNSUPPORTED_MEDIA_TYPE: Int
     Definition Classes
       Status
168.  val UPGRADE: String
     Definition Classes
       HeaderNames
169.  val UPGRADE_REQUIRED: Int
     Definition Classes
       Status
170.  val USER_AGENT: String
     Definition Classes
       HeaderNames
171.  val USE_PROXY: Int
     Definition Classes
       Status
172.  val Unauthorized: Status
     Definition Classes
       Results
173.  val UnprocessableEntity: Status
     Definition Classes
       Results
174.  val UnsupportedMediaType: Status
     Definition Classes
       Results
175.  val UriTooLong: Status
     Definition Classes
       Results
176.  val VARY: String
     Definition Classes
       HeaderNames
177.  val VIA: String
     Definition Classes
       HeaderNames
178.  val WARNING: String
     Definition Classes
       HeaderNames
179.  val WWW_AUTHENTICATE: String
     Definition Classes
       HeaderNames
180.  def XHTML(implicit codec: Codec): String
     Definition Classes
       ContentTypes
181.  def XML(implicit codec: Codec): String
     Definition Classes
       ContentTypes
182.  val X_FORWARDED_FOR: String
     Definition Classes
       HeaderNames
183.  val X_FORWARDED_HOST: String
     Definition Classes
       HeaderNames
184.  val X_FORWARDED_PORT: String
     Definition Classes
       HeaderNames
185.  val X_FORWARDED_PROTO: String
     Definition Classes
       HeaderNames
186.  val X_REQUESTED_WITH: String
     Definition Classes
       HeaderNames
187.  final def asInstanceOf[T0]: T0
     Definition Classes
       Any
188.  def clone(): AnyRef
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
189.  val controllerComponents: MessagesControllerComponents
     Definition Classes
       FrontendController → MessagesBaseController → BaseControllerHelpers
190.  def defaultExecutionContext: ExecutionContext
     Definition Classes
       BaseControllerHelpers
191.  final def eq(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
192.  def equals(arg0: Any): Boolean
     Definition Classes
       AnyRef → Any
193.  implicit def fileMimeTypes: FileMimeTypes
     Definition Classes
       BaseControllerHelpers
194.  def finalize(): Unit
     Attributes
       protected[lang]
     Definition Classes
       AnyRef
     Annotations
       @throws( classOf[java.lang.Throwable] )
195.  final def getClass(): Class[_]
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
196.  def hashCode(): Int
     Definition Classes
       AnyRef → Any
     Annotations
       @native()
197.  implicit def hc(implicit request: RequestHeader): HeaderCarrier
     Attributes
       protected
     Definition Classes
       FrontendHeaderCarrierProvider
198.  final def isInstanceOf[T0]: Boolean
     Definition Classes
       Any
199.  implicit def messagesApi: MessagesApi
     Definition Classes
       BaseControllerHelpers
200.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
201.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
202.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
203.  def parse: PlayBodyParsers
     Definition Classes
       BaseControllerHelpers
204.  implicit def request2flash(implicit request: RequestHeader): Flash
     Definition Classes
       RequestImplicits
205.  implicit def request2session(implicit request: RequestHeader): Session
     Definition Classes
       RequestImplicits
206.  implicit def supportedLangs: Langs
     Definition Classes
       BaseControllerHelpers
207.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
208.  def toString(): String
     Definition Classes
       AnyRef → Any
209.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
210.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
211.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... ) @native()
212.  def withCharset(mimeType: String)(implicit codec: Codec): String
     Definition Classes
       ContentTypes
213.  def withJsonBody[T](f: (T) ⇒ Future[Result])(implicit request: Request[JsValue], m: Manifest[T], reads: Reads[T]): Future[Result]
     Attributes
       protected
     Definition Classes
       WithJsonBody

### Deprecated Value Members

1.  val TOO_MANY_REQUEST: Int
   Definition Classes
     Status
   Annotations
     @deprecated
   Deprecated

     (Since version 2.6.0) Use TOO_MANY_REQUESTS instead

2.  val TooManyRequest: Status
   Definition Classes
     Results
   Annotations
     @deprecated
   Deprecated

     (Since version 2.6.0) Use TooManyRequests instead

### Inherited from FrontendBaseController

### Inherited from FrontendHeaderCarrierProvider

### Inherited from WithJsonBody

### Inherited from Utf8MimeTypes

### Inherited from MessagesBaseController

### Inherited from BaseControllerHelpers

### Inherited from ControllerHelpers

### Inherited from RequestImplicits

### Inherited from Rendering

### Inherited from RequestExtractors

### Inherited from AcceptExtractors

### Inherited from ContentTypes

### Inherited from HeaderNames

### Inherited from play.api.http.Status

### Inherited from HttpProtocol

### Inherited from Results

### Inherited from AnyRef

### Inherited from Any

### Ungrouped