UserAgent

final implicit
class UserAgent(request: HttpRequest) extends AnyVal

Provides standardized access to User-Agent header.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def getUserAgent: Option[Seq[ProductType]]

Gets User-Agent header values if present.

Gets User-Agent header values if present.

def hasUserAgent: Boolean

Tests for User-Agent header.

Tests for User-Agent header.

Creates new request with User-Agent header removed.

Creates new request with User-Agent header removed.

Creates new request with User-Agent header set to supplied value.

Creates new request with User-Agent header set to supplied value.

Creates new request with User-Agent header set to supplied value.

Creates new request with User-Agent header set to supplied value.

Gets User-Agent header values.

Gets User-Agent header values.

Returns

header values or empty sequence if User-Agent is not present