RESTful Web Services with Scala by Jos Dirksen

RESTful Web Services with Scala by Jos Dirksen

Author:Jos Dirksen [Dirksen, Jos]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2015-11-26T05:00:00+00:00


request.headers

This returns all the headers as a Map[String, String] object.

request.header(key)

This gets a specific header from the request and returns an Option[String].

request.characterEncoding

This returns, if present, the character encoding of the request and an Option[String].

request.contentType

This gets the content-type of the request if present and returns an Option[String].

request.contentLength

This gets the length of the content and returns an Option[Long].

request.serverName

This returns the server name part of the complete path and a string.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.