Package play.components
Interface BodyParserComponents
-
- All Superinterfaces:
AkkaComponents
,HttpConfigurationComponents
,HttpErrorHandlerComponents
,TemporaryFileComponents
- All Known Subinterfaces:
BuiltInComponents
,CSPReportComponents
,RoutingDslComponents
- All Known Implementing Classes:
BuiltInComponentsFromContext
,ContextBasedBuiltInComponents
,RoutingDslComponentsFromContext
public interface BodyParserComponents extends HttpErrorHandlerComponents, HttpConfigurationComponents, AkkaComponents, TemporaryFileComponents
Java BodyParser components.- See Also:
BodyParser
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default BodyParser.AnyContent
anyContentBodyParser()
default BodyParser.Bytes
bytesBodyParser()
default BodyParser.Default
defaultBodyParser()
default play.api.mvc.BodyParser<play.api.mvc.AnyContent>
defaultScalaBodyParser()
default BodyParser.Empty
emptyBodyParser()
default BodyParser.FormUrlEncoded
formUrlEncodedBodyParser()
default BodyParser.Json
jsonBodyParser()
default BodyParser.MultipartFormData
multipartFormDataBodyParser()
default BodyParser.Raw
rawBodyParser()
default play.api.mvc.PlayBodyParsers
scalaBodyParsers()
default BodyParser.Text
textBodyParser()
default BodyParser.TolerantJson
tolerantJsonBodyParser()
default BodyParser.TolerantText
tolerantTextBodyParser()
default BodyParser.TolerantXml
tolerantXmlBodyParser()
default BodyParser.Xml
xmlBodyParser()
-
Methods inherited from interface play.components.AkkaComponents
actorSystem, coordinatedShutdown, executionContext, materializer
-
Methods inherited from interface play.components.HttpConfigurationComponents
httpConfiguration, sessionConfiguration
-
Methods inherited from interface play.components.HttpErrorHandlerComponents
httpErrorHandler, javaContextComponents, scalaHttpErrorHandler
-
Methods inherited from interface play.components.TemporaryFileComponents
tempFileCreator
-
-
-
-
Method Detail
-
scalaBodyParsers
default play.api.mvc.PlayBodyParsers scalaBodyParsers()
-
defaultScalaBodyParser
default play.api.mvc.BodyParser<play.api.mvc.AnyContent> defaultScalaBodyParser()
-
defaultBodyParser
default BodyParser.Default defaultBodyParser()
- Returns:
- the default body parser
- See Also:
BodyParser.Default
-
anyContentBodyParser
default BodyParser.AnyContent anyContentBodyParser()
- Returns:
- the body parser for any content
- See Also:
BodyParser.AnyContent
-
jsonBodyParser
default BodyParser.Json jsonBodyParser()
- Returns:
- the json body parser
- See Also:
BodyParser.Json
-
tolerantJsonBodyParser
default BodyParser.TolerantJson tolerantJsonBodyParser()
- Returns:
- the tolerant json body parser
- See Also:
BodyParser.TolerantJson
-
xmlBodyParser
default BodyParser.Xml xmlBodyParser()
- Returns:
- the xml body parser
- See Also:
BodyParser.Xml
-
tolerantXmlBodyParser
default BodyParser.TolerantXml tolerantXmlBodyParser()
- Returns:
- the tolerant xml body parser
- See Also:
BodyParser.TolerantXml
-
textBodyParser
default BodyParser.Text textBodyParser()
- Returns:
- the text body parser
- See Also:
BodyParser.Text
-
tolerantTextBodyParser
default BodyParser.TolerantText tolerantTextBodyParser()
- Returns:
- the tolerant text body parser
- See Also:
BodyParser.TolerantText
-
bytesBodyParser
default BodyParser.Bytes bytesBodyParser()
- Returns:
- the bytes body parser
- See Also:
BodyParser.Bytes
-
rawBodyParser
default BodyParser.Raw rawBodyParser()
- Returns:
- the raw body parser
- See Also:
BodyParser.Raw
-
formUrlEncodedBodyParser
default BodyParser.FormUrlEncoded formUrlEncodedBodyParser()
- Returns:
- the body parser for form url encoded
- See Also:
BodyParser.FormUrlEncoded
-
multipartFormDataBodyParser
default BodyParser.MultipartFormData multipartFormDataBodyParser()
- Returns:
- the multipart form data body parser
- See Also:
BodyParser.MultipartFormData
-
emptyBodyParser
default BodyParser.Empty emptyBodyParser()
- Returns:
- the empty body parser
- See Also:
BodyParser.Empty
-
-