blueeyes

BlueEyesServiceBuilder

trait BlueEyesServiceBuilder extends BlueEyesServiceBuilderBase[Array[Byte]] with BijectionsByteArray

linear super types: BijectionsByteArray, BlueEyesServiceBuilderBase[Array[Byte]], HttpServiceDescriptorFactoryCombinators, RestPathPatternImplicits, HttpRequestHandlerImplicits, PartialFunctionCombinators, HttpRequestHandlerCombinators, HttpNumberImplicits, HttpDateImplicits, HttpStatusCodeImplicits, HttpStatusImplicits, HttpHeaderImplicits, FutureImplicits, HttpServiceBuilder[Array[Byte]], HttpServiceVersionImplicits, AnyRef, Any
known subclasses: BlueEyesDemoService, BlueEyesDemo
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. BlueEyesServiceBuilder
  2. BijectionsByteArray
  3. BlueEyesServiceBuilderBase
  4. HttpServiceDescriptorFactoryCombinators
  5. RestPathPatternImplicits
  6. HttpRequestHandlerImplicits
  7. PartialFunctionCombinators
  8. HttpRequestHandlerCombinators
  9. HttpNumberImplicits
  10. HttpDateImplicits
  11. HttpStatusCodeImplicits
  12. HttpStatusImplicits
  13. HttpHeaderImplicits
  14. FutureImplicits
  15. HttpServiceBuilder
  16. HttpServiceVersionImplicits
  17. AnyRef
  18. Any
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. case class RequestDescriptor [S] (request: (S) ⇒ HttpRequestHandler[T]) extends Product

    attributes: protected
  2. case class ServiceInvoker [T] (serviceRootUrl: String, client: HttpClient[T]) extends Product

  3. type ServiceLocator [T] = (String, HttpServiceVersion) ⇒ ServiceInvoker[T]

  4. case class ShutdownDescriptor [S] (shutdown: (S) ⇒ Future[Unit]) extends Product

    attributes: protected
  5. case class StartupDescriptor [S] (startup: () ⇒ Future[S]) extends Product

    attributes: protected

Value Members

  1. def != (arg0: AnyRef) : Boolean

    attributes: final
    definition classes: AnyRef
  2. def != (arg0: Any) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $ [T, S] (h: HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    The path end combinator creates a handler that is defined only for paths that are fully matched.

    The path end combinator creates a handler that is defined only for paths that are fully matched.

    definition classes: HttpRequestHandlerCombinators
  5. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  6. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  7. def == (arg0: AnyRef) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  8. def == (arg0: Any) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  9. implicit val ByteArrayToByteArray : Bijection[Array[Byte], Array[Byte]]

    attributes: implicit
    definition classes: BijectionsByteArray
  10. implicit val ByteArrayToJValue : Bijection[Array[Byte], JValue]

    attributes: implicit
    definition classes: BijectionsByteArray
  11. implicit val ByteArrayToString : Bijection[Array[Byte], String]

    attributes: implicit
    definition classes: BijectionsByteArray
  12. implicit val ByteArrayToXML : Bijection[Array[Byte], NodeSeq]

    attributes: implicit
    definition classes: BijectionsByteArray
  13. implicit val JValueToByteArray : Bijection[JValue, Array[Byte]]

    attributes: implicit
    definition classes: BijectionsByteArray
  14. implicit val StringToByteArray : Bijection[String, Array[Byte]]

    attributes: implicit
    definition classes: BijectionsByteArray
  15. implicit val XMLToByteArray : Bijection[NodeSeq, Array[Byte]]

    attributes: implicit
    definition classes: BijectionsByteArray
  16. def accept [T, S, U] (mimeType: MimeType)(h: HttpRequestHandler2[T, S])(implicit b: Bijection[U, T]) : HttpRequestHandler2[U, S]

    The accept combinator creates a handler that is defined only for requests that have the specified content type.

    The accept combinator creates a handler that is defined only for requests that have the specified content type. Requires an implicit bijection used for transcoding.

    definition classes: HttpRequestHandlerCombinators
  17. implicit def andPartialFunctionCombinatorSugarExtractor1 [T, S, U1, V1] (r1: ((U1) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  18. implicit def andPartialFunctionCombinatorSugarExtractor2 [T, S, U1, U2] (r1: ((U1, U2) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  19. implicit def andPartialFunctionCombinatorSugarExtractor3 [T, S, U1, U2, U3] (r1: ((U1, U2, U3) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  20. implicit def andPartialFunctionCombinatorSugarExtractor4 [T, S, U1, U2, U3, U4] (r1: ((U1, U2, U3, U4) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  21. implicit def andPartialFunctionCombinatorSugarExtractor5 [T, S, U1, U2, U3, U4, U5] (r1: ((U1, U2, U3, U4, U5) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  22. implicit def any2Future [T, S >: T] (any: T) : Future[S]

    attributes: implicit
    definition classes: FutureImplicits
  23. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expressionList(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  24. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected
    definition classes: AnyRef
  25. implicit def commit [T, S] (h: (HttpRequest[T]) ⇒ Future[HttpResponse[S]]) : HttpRequestHandler2[T, S]

    Converts a full request handler into a partial request handler that handles every input.

    Converts a full request handler into a partial request handler that handles every input. Note: This is an implicit and will automatically convert all full request handlers into partial request handlers, as required by type signatures.

    attributes: implicit
    definition classes: HttpRequestHandlerCombinators
  26. def commit [T, S] (msgGen: (HttpRequest[T]) ⇒ (HttpFailure, String))(h: HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    Forces a particular combinator to match.

    Forces a particular combinator to match.

    commit(r => BadRequest -> "Bad path: " + r.path) {
      path("/foo") {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  27. def configurableRoot [T, S] (f: HttpServiceDescriptorFactory[T, S]) : HttpServiceDescriptorFactory[T, S]

    Augments the service with a configurable root path.

    Augments the service with a configurable root path. If this combinator is used, the config for the service may contain a "rootPath" setting, which is used as the root path for the service.

    configurableRoot {
      request { state =>
        ...
      }
    }
    
  28. def connect [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  29. def contentType [T, S] (mimeType: MimeType)(h: HttpRequestHandler[T])(implicit b1: Bijection[S, T]) : HttpRequestHandler[S]

    The content type combinator creates a handler that accepts and produces requests and responses of the specified content type.

    The content type combinator creates a handler that accepts and produces requests and responses of the specified content type. Requires an implicit bijection used for transcoding.

    definition classes: HttpRequestHandlerCombinators
  30. def cookie [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String])(h: (String) ⇒ HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    A special-case extractor for cookie supporting a default value.

    A special-case extractor for cookie supporting a default value.

    cookie('token, "defaultValue") { token =>
      get {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  31. def cookie [T, S] (s1: Symbol)(h: (String) ⇒ HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    A special-case extractor for cookie.

    A special-case extractor for cookie.

    cookie('token) { token =>
      get {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  32. def cookies2 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  33. def cookies2 [T, S] (s1: Symbol, s2: Symbol) : ((String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    A special-case extractor for cookies.

    A special-case extractor for cookies.

    cookies2('username, 'password) { (username, password) =>
      get {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  34. def cookies3 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  35. def cookies3 [T, S] (s1: Symbol, s2: Symbol, s3: Symbol) : ((String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  36. def cookies4 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String], s4AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  37. def cookies4 [T, S] (s1: Symbol, s2: Symbol, s3: Symbol, s4: Symbol) : ((String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  38. def cookies5 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String], s4AndDefault: IdentifierWithDefault[Symbol, String], s5AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  39. def cookies5 [T, S] (s1: Symbol, s2: Symbol, s3: Symbol, s4: Symbol, s5: Symbol) : ((String, String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  40. def delete [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  41. def eq (arg0: AnyRef) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  42. def equals (arg0: Any) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef → Any
  43. def extract [T, S, E1] (extractor: (HttpRequest[T]) ⇒ E1) : ((E1) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    Extracts data from the request.

    Extracts data from the request. The extractor combinators can be used to factor out extraction logic that's duplicated across a range of handlers.

    Extractors are fail-fast combinators. If they cannot extract the required information during evaluation of isDefinedAt() method, they immediately throw an HttpException.

    extract(_.parameters('username)) { username =>
      ...
    }

    definition classes: HttpRequestHandlerCombinators
  44. def extract2 [T, S, E1, E2] (extractor: (HttpRequest[T]) ⇒ (E1, E2)) : ((E1, E2) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    extract2(r => (r.

    extract2(r => (r.parameters('username), r.parameters('password))) { (username, password) =>
      ...
    }

    definition classes: HttpRequestHandlerCombinators
  45. def extract3 [T, S, E1, E2, E3] (extractor: (HttpRequest[T]) ⇒ (E1, E2, E3)) : ((E1, E2, E3) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  46. def extract4 [T, S, E1, E2, E3, E4] (extractor: (HttpRequest[T]) ⇒ (E1, E2, E3, E4)) : ((E1, E2, E3, E4) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  47. def extract5 [T, S, E1, E2, E3, E4, E5] (extractor: (HttpRequest[T]) ⇒ (E1, E2, E3, E4, E5)) : ((E1, E2, E3, E4, E5) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  48. def field [S, F1 <: JValue] (s1AndDefault: IdentifierWithDefault[Symbol, F1])(implicit mc1: Manifest[F1]) : ((F1) ⇒ HttpRequestHandler2[JValue, S]) ⇒ HttpRequestHandler2[JValue, S]

    definition classes: HttpRequestHandlerCombinators
  49. def fields2 [S, F1 <: JValue, F2 <: JValue] (s1AndDefault: IdentifierWithDefault[Symbol, F1], s2AndDefault: IdentifierWithDefault[Symbol, F2])(implicit mc1: Manifest[F1], mc2: Manifest[F2]) : ((F1, F2) ⇒ HttpRequestHandler2[JValue, S]) ⇒ HttpRequestHandler2[JValue, S]

    definition classes: HttpRequestHandlerCombinators
  50. def fields3 [S, F1 <: JValue, F2 <: JValue, F3 <: JValue] (s1AndDefault: IdentifierWithDefault[Symbol, F1], s2AndDefault: IdentifierWithDefault[Symbol, F2], s3AndDefault: IdentifierWithDefault[Symbol, F3])(implicit mc1: Manifest[F1], mc2: Manifest[F2], mc3: Manifest[F3]) : ((F1, F2, F3) ⇒ HttpRequestHandler2[JValue, S]) ⇒ HttpRequestHandler2[JValue, S]

    definition classes: HttpRequestHandlerCombinators
  51. def fields4 [S, F1 <: JValue, F2 <: JValue, F3 <: JValue, F4 <: JValue] (s1AndDefault: IdentifierWithDefault[Symbol, F1], s2AndDefault: IdentifierWithDefault[Symbol, F2], s3AndDefault: IdentifierWithDefault[Symbol, F3], s4AndDefault: IdentifierWithDefault[Symbol, F4])(implicit mc1: Manifest[F1], mc2: Manifest[F2], mc3: Manifest[F3], mc4: Manifest[F4]) : ((F1, F2, F3, F4) ⇒ HttpRequestHandler2[JValue, S]) ⇒ HttpRequestHandler2[JValue, S]

    definition classes: HttpRequestHandlerCombinators
  52. def fields5 [S, F1 <: JValue, F2 <: JValue, F3 <: JValue, F4 <: JValue, F5 <: JValue] (s1AndDefault: IdentifierWithDefault[Symbol, F1], s2AndDefault: IdentifierWithDefault[Symbol, F2], s3AndDefault: IdentifierWithDefault[Symbol, F3], s4AndDefault: IdentifierWithDefault[Symbol, F4], s5AndDefault: IdentifierWithDefault[Symbol, F5])(implicit mc1: Manifest[F1], mc2: Manifest[F2], mc3: Manifest[F3], mc4: Manifest[F4], mc5: Manifest[F5]) : ((F1, F2, F3, F4, F5) ⇒ HttpRequestHandler2[JValue, S]) ⇒ HttpRequestHandler2[JValue, S]

    definition classes: HttpRequestHandlerCombinators
  53. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalizeand non-local returns and exceptions, are all platform dependent.

    attributes: protected
    definition classes: AnyRef
  54. def get [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  55. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  56. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: AnyRef → Any
  57. def head [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  58. implicit def headersList2HeadersMap (headers: Seq[HttpHeader]) : Map[String, String]

    attributes: implicit
    definition classes: HttpHeaderImplicits
  59. def healthMonitor [T, S] (f: (HealthMonitor) ⇒ HttpServiceDescriptorFactory[T, S])(implicit jValueBijection: Bijection[JValue, T]) : HttpServiceDescriptorFactory[T, S]

    Augments the service with health monitoring.

    Augments the service with health monitoring. By default, various metrics relating to request type, request timing, and request fulfillment are exported to the health monitor.

    healthMonitor { monitor =>
      request { state =>
        ...
      }
    }
    
  60. implicit def httpHeader2Tuple (httpHeader: HttpHeader) : (String, String)

    attributes: implicit
    definition classes: HttpHeaderImplicits
  61. implicit def identifierToIdentifierWithDefault [S] (default: ⇒ S) : AnyRef {...}

    attributes: implicit
    definition classes: HttpRequestHandlerImplicits
  62. implicit def identifierToIdentifierWithErrorDefault [T <: AnyRef, S] (identifier: T) : IdentifierWithDefault[T, S]

    attributes: implicit
    definition classes: HttpRequestHandlerImplicits
  63. implicit def int2HttpNumber (num: Int) : HttpNumber

    attributes: implicit
    definition classes: HttpNumberImplicits
  64. implicit def int2HttpStatusCode (statusCode: Int) : HttpStatusCode

    attributes: implicit
    definition classes: HttpStatusCodeImplicits
  65. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  66. implicit def javaDate2HttpDateTime (javaDate: Date) : HttpDateTime

    attributes: implicit
    definition classes: HttpDateImplicits
  67. implicit def jodaDateTime2HttpDateTime (jodaDateTime: DateTime) : HttpDateTime

    attributes: implicit
    definition classes: HttpDateImplicits
  68. def justTry [T, S] (h: HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    Attemps to peek to see if a particular handler will handle a request.

    Attemps to peek to see if a particular handler will handle a request. Used to convert a fast-failing handler into a skipping one.

    justTry {
      path("/foo") {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  69. def jvalue [T] (h: HttpRequestHandler[JValue])(implicit b: Bijection[T, JValue]) : HttpRequestHandler[T]

    The json combinator creates a handler that accepts and produces JSON.

    The json combinator creates a handler that accepts and produces JSON. Requires an implicit bijection used for transcoding.

    definition classes: HttpRequestHandlerCombinators
  70. def logging [T, S] (f: (Logger) ⇒ HttpServiceDescriptorFactory[T, S]) : HttpServiceDescriptorFactory[T, S]

    Augments the service with logging.

    Augments the service with logging.

    logging { logger =>
      request { state =>
        ...
      }
    }
    
  71. implicit def long2HttpNumber (long: Long) : HttpNumber

    attributes: implicit
    definition classes: HttpNumberImplicits
  72. def method [T, S] (method: HttpMethod) : (HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    The method combinator creates a handler that is defined only for the specified HTTP method.

    The method combinator creates a handler that is defined only for the specified HTTP method.

    definition classes: HttpRequestHandlerCombinators
  73. def ne (arg0: AnyRef) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  74. implicit def notPartialFunctionCombinatorSugar [T, S] (r: (PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  75. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  76. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  77. def options [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  78. def orFail [T, S] (msg: String) : HttpRequestHandler2[T, S]

    path("/foo") {
      .

    path("/foo") {
      ...
    } ~ orFail("The path is malformed")

    definition classes: HttpRequestHandlerCombinators
  79. def orFail [T, S] (h: (HttpRequest[T]) ⇒ (HttpFailure, String)) : HttpRequestHandler2[T, S]

    path("/foo") {
      .

    path("/foo") {
      ...
    } ~ orFail { request => BadRequest -> "The path " + request.path + " is malformed" }

    definition classes: HttpRequestHandlerCombinators
  80. implicit def orPartialFunctionCombinatorSugar [T, S] (r1: (PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  81. implicit def orPartialFunctionCombinatorSugarExtractor1 [T, S, U1] (r1: ((U1) ⇒ PartialFunction[T, S]) ⇒ PartialFunction[T, S]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  82. def parameter [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String]) : ((String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    A special-case extractor for parameters.

    A special-case extractor for parameters.

    parameter('token) { token =>
      get {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  83. def parameters2 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    A special-case extractor for parameters.

    A special-case extractor for parameters.

    parameters2('username, 'password) { (username, password) =>
      get {
        ...
      }
    }

    definition classes: HttpRequestHandlerCombinators
  84. def parameters3 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  85. def parameters4 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String], s4AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  86. def parameters5 [T, S] (s1AndDefault: IdentifierWithDefault[Symbol, String], s2AndDefault: IdentifierWithDefault[Symbol, String], s3AndDefault: IdentifierWithDefault[Symbol, String], s4AndDefault: IdentifierWithDefault[Symbol, String], s5AndDefault: IdentifierWithDefault[Symbol, String]) : ((String, String, String, String, String) ⇒ HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  87. implicit def partialFunctionRequestHandlerCombinatorSugar [A, B] (p1: PartialFunction[A, B]) : AnyRef {...}

    attributes: implicit
    definition classes: PartialFunctionCombinators
  88. def patch [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  89. def path [T, S] (path: RestPathPattern) : (HttpRequestHandler2[T, S]) ⇒ HttpRequestHandler2[T, S]

    The path combinator creates a handler that is defined only for suffixes of the specified path pattern.

    The path combinator creates a handler that is defined only for suffixes of the specified path pattern.

    path("/foo") {
      ...
    }
    
    definition classes: HttpRequestHandlerCombinators
  90. def post [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  91. def produce [T, S, V] (mimeType: MimeType)(h: HttpRequestHandler2[T, S])(implicit b: Bijection[S, V]) : HttpRequestHandler2[T, V]

    The produce combinator creates a handler that is produces responses that have the specified content type.

    The produce combinator creates a handler that is produces responses that have the specified content type. Requires an implicit bijection used for transcoding.

    definition classes: HttpRequestHandlerCombinators
  92. def put [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  93. implicit def regexToRestPathPatternBuilder (regex: Regex) : AnyRef {...}

    Example: new Regex("""([a-z]+)""", "id") ~ List('id) In use example: ads / foo / new Regex("""([a-z]+)""", "id") ~ List('id)

    Example: new Regex("""([a-z]+)""", "id") ~ List('id) In use example: ads / foo / new Regex("""([a-z]+)""", "id") ~ List('id)

    A note about groups for scala Regex: Scala Regex is based off of Java Pattern, in which groups are not given names, only numbers based on the order in which they appear. Thus, the labels one gives groups in the Scala Regex are assigned based on ordering from the java Pattern. As such, in the following example, New Regex("""(a|z)(b+)""", "id1", "id2") id1 referss to the capture group a|z, whereas id2 refers to b+.

    attributes: implicit
    definition classes: RestPathPatternImplicits
  94. def remainingPath [T, S] (handler: (String) ⇒ HttpRequestHandler2[T, S]) : HttpRequestHandler2[T, S]

    Yields the remaining path to the specified function, which should return a request handler.

    Yields the remaining path to the specified function, which should return a request handler.

    remainingPath { path =>
      get {
        ...
      }
    }
    
    definition classes: HttpRequestHandlerCombinators
  95. def request (request: ⇒ HttpRequestHandler[Array[Byte]]) : RequestDescriptor[Unit]

    attributes: protected
    definition classes: HttpServiceBuilder
  96. def request [S] (request: (S) ⇒ HttpRequestHandler[Array[Byte]]) : RequestDescriptor[S]

    attributes: protected
    definition classes: HttpServiceBuilder
  97. def service (name: String, version: String)(descriptorFactory: (HttpServiceContext) ⇒ blueeyes.core.service.HttpServiceDescriptor[Array[Byte], _])(implicit m: Manifest[Array[Byte]]) : HttpService[Array[Byte]]

    definition classes: HttpServiceBuilder
  98. def serviceLocator [T, S] (f: (ServiceLocator[T]) ⇒ HttpServiceDescriptorFactory[T, S])(implicit client: HttpClient[T]) : HttpServiceDescriptorFactory[T, S]

    Augments the service with a locator, which is capable of creating HTTP clients that connect to other BlueEyes services based on settings in the config file.

    Augments the service with a locator, which is capable of creating HTTP clients that connect to other BlueEyes services based on settings in the config file.

    To locate foo/v1, the locator will look at the config setting: services.foo.v1.serviceRootUrl

    serviceLocator { locator =>
      ...
      val content = locator("email", "1.01") {
        get$ { response =>
          response.content.get
        }
      }
    }
    
  99. def shutdown (shutdown: ⇒ Future[Unit]) : ShutdownDescriptor[Unit]

    attributes: protected
    definition classes: HttpServiceBuilder
  100. def shutdown [S] (shutdown: (S) ⇒ Future[Unit]) : ShutdownDescriptor[S]

    attributes: protected
    definition classes: HttpServiceBuilder
  101. def startup [S] (startup: ⇒ Future[S]) : StartupDescriptor[S]

    attributes: protected
    definition classes: HttpServiceBuilder
  102. implicit def statelessRequestDescriptorToServiceDescriptor (rd: RequestDescriptor[Unit]) : HttpServiceDescriptor[Array[Byte], Unit]

    attributes: protected implicit
    definition classes: HttpServiceBuilder
  103. implicit def statusCode2HttpStatus (code: HttpStatusCode) : HttpStatus

    attributes: implicit
    definition classes: HttpStatusImplicits
  104. implicit def stringToRestPathPathPattern (s: String) : RestPathPattern

    attributes: implicit
    definition classes: RestPathPatternImplicits
  105. implicit def stringToVersion (value: String) : HttpServiceVersion

    attributes: implicit
    definition classes: HttpServiceVersionImplicits
  106. implicit def symbolToRestPathPathPattern (s: Symbol) : RestPathPattern

    attributes: implicit
    definition classes: RestPathPatternImplicits
  107. def synchronized [T0] (arg0: T0) : T0

    attributes: final
    definition classes: AnyRef
  108. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: AnyRef → Any
  109. def trace [T, S] (h: HttpRequestHandlerFull2[T, S]) : HttpRequestHandler2[T, S]

    definition classes: HttpRequestHandlerCombinators
  110. implicit def tuple2HttpHeader (keyValue: (String, String)) : HttpHeader

    attributes: implicit
    definition classes: HttpHeaderImplicits
  111. def wait () : Unit

    attributes: final
    definition classes: AnyRef
  112. def wait (arg0: Long, arg1: Int) : Unit

    attributes: final
    definition classes: AnyRef
  113. def wait (arg0: Long) : Unit

    attributes: final
    definition classes: AnyRef
  114. def xml [T] (h: HttpRequestHandler[NodeSeq])(implicit b: Bijection[T, NodeSeq]) : HttpRequestHandler[T]

    The xml combinator creates a handler that accepts and produces XML.

    The xml combinator creates a handler that accepts and produces XML. Requires an implicit bijection used for transcoding.

    definition classes: HttpRequestHandlerCombinators

Inherited from BijectionsByteArray

Inherited from BlueEyesServiceBuilderBase[Array[Byte]]

Inherited from HttpServiceDescriptorFactoryCombinators

Inherited from RestPathPatternImplicits

Inherited from HttpRequestHandlerImplicits

Inherited from PartialFunctionCombinators

Inherited from HttpRequestHandlerCombinators

Inherited from HttpNumberImplicits

Inherited from HttpDateImplicits

Inherited from HttpStatusCodeImplicits

Inherited from HttpStatusImplicits

Inherited from HttpHeaderImplicits

Inherited from FutureImplicits

Inherited from HttpServiceBuilder[Array[Byte]]

Inherited from HttpServiceVersionImplicits

Inherited from AnyRef

Inherited from Any