 	# @option req [Object/Bool] token The token object or false
 	# @option req [Object/Bool] user The logged in user object or false
 	# @option req [Object] header The HTTP headers from the request
-	# @option req [Object] params Combination of url-params (e.g fermentables/{id} adds id) and GET params (e.g size = 50). (Examples combined results in object {id: something, size: 50})
+	# @option req [Object] params Combination of url-params (e.g fermentables/{id} adds id)
+	# and GET params (e.g size = 50). (Examples combined results in object {id: something, size: 50})
 	# @option req [Function] reply The HAPI reply function
 	# @param [Function] reply The HAPI reply function
 	onRequest: (req, reply) ->

@copyright 2015 Microbrew.it
###
class RouteHandler
	constructor: ->

	# Logger instance, use this instead of console.log (see core/Logger)
	logger: logger


	# Default GET handler
	# Called with same params as @onRequest
	# @note Only called if return value from onRequest is falsy
	# @see onRequest
	onGet: (req, reply) ->
		@logger.warn "#{@constructor.name}.onGet not implemented (path: #{req.raw.path})"

	# Default POST handler
	# Called with same params as @onRequest
	# @note Only called if return value from onRequest is falsy
	# @see onRequest
	onPost: (req, reply) ->
		@logger.warn "#{@constructor.name}.onPost not implemented (path: #{req.raw.path})"

	# Default DELETE handler
	# Called with same params as @onRequest
	# @note Only called if return value from onRequest is falsy
	# @see onRequest
	onDelete: (req, reply) ->
		@logger.warn "#{@constructor.name}.onDelete not implemented (path: #{req.raw.path})"

	# Default PUT handler
	# Called with same params as @onRequest
	# @note Only called if return value from onRequest is falsy
	# @see onRequest
	onPut: (req, reply) ->
		@logger.warn "#{@constructor.name}.onPut not implemented (path: #{req.raw.path})"

	# Default PATCH handler
	# Called with same params as @onRequest
	# @note Only called if return value from onRequest is falsy
	# @see onRequest
	onPatch: (req, reply) ->
		@logger.warn "#{@constructor.name}.onPatch not implemented (path: #{req.raw.path})"

