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 EndpointerStackClient[Request, Response, Client] with WithSessionPool[Client] with WithDefaultLoadBalancer[Client] with Transformable[Client] with Product with Serializable
  2. case class H2ClientImpl(useMultiplexClient: Option[Boolean]) extends Product with Serializable
  3. case class HttpImpl(clientTransport: (Transport[Any, Any]) ⇒ StreamTransport[Request, Response], serverTransport: (Transport[Any, Any]) ⇒ StreamTransport[Response, Request], transporter: (Params) ⇒ (SocketAddress) ⇒ Transporter[Any, Any, TransportContext], listener: (Params) ⇒ Listener[Any, Any, TransportContext], implName: String) 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

  4. 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 Netty4Impl: HttpImpl
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def client: Client
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def fetchUrl(url: URL): Future[Response]
    Definition Classes
    HttpRichClient
  12. def fetchUrl(url: String): Future[Response]
    Definition Classes
    HttpRichClient
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def serve(addr: SocketAddress, service: ServiceFactory[Request, Response]): ListeningServer

    Serve service at addr

    Serve service at addr

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

    Serve service at addr

    Serve service at addr

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

    Serve service at addr

    Serve service at addr

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

    Serve service at addr

    Serve service at addr

    Definition Classes
    Server
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. def server: Server
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  42. object Client extends Serializable
  43. object H2ClientImpl extends Serializable
  44. object HttpImpl extends Serializable
  45. object Server extends Serializable
  46. object useH2CClients

Inherited from finagle.Server[Request, Response]

Inherited from HttpRichClient

Inherited from finagle.Client[Request, Response]

Inherited from AnyRef

Inherited from Any

Ungrouped