Packages

object Http extends Client[Request, Response] with HttpRichClient with Server[Request, Response]

HTTP/1.1 protocol support, including client and server.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Http
  2. Server
  3. HttpRichClient
  4. Client
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Client (stack: Stack[ServiceFactory[Request, Response]] = Client.stack, params: Params = Client.params) extends StdStackClient[Request, Response, Client] with WithSessionPool[Client] with WithDefaultLoadBalancer[Client] with Product with Serializable
  2. case class HttpImpl (clientTransport: (Transport[Any, Any]) ⇒ StreamTransport[Request, Response], serverTransport: (Transport[Any, Any]) ⇒ StreamTransport[Response, Request], transporter: (Params) ⇒ (SocketAddress) ⇒ Transporter[Any, Any], listener: (Params) ⇒ Listener[Any, Any]) extends Product with Serializable

    configure alternative http 1.1 implementations

    configure alternative http 1.1 implementations

    clientTransport

    client StreamTransport factory

    serverTransport

    server StreamTransport factory

    transporter

    Transporter factory

    listener

    Listener factory

  3. case class Server (stack: Stack[ServiceFactory[Request, Response]] = Server.stack, params: Params = Server.params) extends StdStackServer[Request, Response, Server] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Http2: Params
  5. val Netty3Impl: HttpImpl
  6. val Netty4Impl: HttpImpl
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val client: Client
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def fetchUrl(url: URL): Future[Response]
    Definition Classes
    HttpRichClient
  13. def fetchUrl(url: String): Future[Response]
    Definition Classes
    HttpRichClient
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def newClient(dest: Name, label: String): ServiceFactory[Request, Response]

    Create a new client connected to dest.

    Create a new client connected to dest. See the user guide for details on destination names.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    HttpClient
  20. final def newClient(dest: String, label: String): ServiceFactory[Request, Response]

    Create a new client connected to dest.

    Create a new client connected to dest. See the user guide for details on destination names.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    Client
  21. final def newClient(dest: String): ServiceFactory[Request, Response]

    Create a new client connected to dest.

    Create a new client connected to dest. See the user guide for details on destination names.

    Definition Classes
    Client
  22. def newService(dest: Name, label: String): Service[Request, Response]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest. See the user guide for details on destination names.

    Argument label is used to assign a label to this client. The label is used to display stats, etc.

    Definition Classes
    HttpClient
  23. final def newService(dest: String, label: String): Service[Request, Response]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest. See the user guide for details on destination names.

    Definition Classes
    Client
  24. final def newService(dest: String): Service[Request, Response]

    Create a new service which dispatches requests to dest.

    Create a new service which dispatches requests to dest. See the user guide for details on destination names.

    Definition Classes
    Client
  25. final def notify(): Unit
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  27. def serve(addr: SocketAddress, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr

    Serve service at addr

    Definition Classes
    HttpServer
  28. def serve(addr: String, service: Service[Request, Response]): ListeningServer

    Serve service at addr

    Serve service at addr

    Definition Classes
    Server
  29. def serve(addr: String, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr

    Serve service at addr

    Definition Classes
    Server
  30. def serve(addr: SocketAddress, service: Service[Request, Response]): ListeningServer

    Serve service at addr

    Serve service at addr

    Definition Classes
    Server
  31. def serveAndAnnounce(name: String, service: Service[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  32. def serveAndAnnounce(name: String, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  33. def serveAndAnnounce(name: String, addr: String, service: Service[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  34. def serveAndAnnounce(name: String, addr: String, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  35. def serveAndAnnounce(name: String, addr: SocketAddress, service: Service[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  36. def serveAndAnnounce(name: String, addr: SocketAddress, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr and announce with name.

    Serve service at addr and announce with name. Announcements will be removed when the service is closed. Omitting the addr will bind to an ephemeral port.

    Definition Classes
    Server
  37. val server: Server
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. object Client extends Serializable
  44. object HttpImpl extends Serializable
  45. object Server extends Serializable

Deprecated Value Members

  1. final def newClient(dest: Group[SocketAddress]): ServiceFactory[Request, Response]
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

  2. final def newService(dest: Group[SocketAddress]): Service[Request, Response]
    Definition Classes
    Client
    Annotations
    @deprecated
    Deprecated

    (Since version 6.7.x) Use destination names

Inherited from finagle.Server[Request, Response]

Inherited from HttpRichClient

Inherited from finagle.Client[Request, Response]

Inherited from AnyRef

Inherited from Any

Ungrouped