c

vertices.core

VertxHttpServerResponseOps

implicit final class VertxHttpServerResponseOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertxHttpServerResponseOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VertxHttpServerResponseOps(target: HttpServerResponse)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def endL(chunk: Buffer): Task[Unit]

    Same as #end(Buffer) but with an handler called when the operation completes

  6. def endL(chunk: String, enc: String): Task[Unit]

    Same as String) but with an handler called when the operation completes

  7. def endL(chunk: String): Task[Unit]

    Same as #end(String) but with an handler called when the operation completes

  8. def endL(): Task[Unit]

    Same as #end() but with an handler called when the operation completes

  9. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def pushL(method: HttpMethod, host: String, path: String, headers: MultiMap): Task[HttpServerResponse]

    Push a response to the client.

    Push a response to the client.

    The handler will be notified with a success when the push can be sent and with a failure when the client has disabled push or reset the push before it has been sent.

    The handler may be queued if the client has reduced the maximum number of streams the server can push concurrently.

    Push can be sent only for peer initiated streams and if the response is not ended.

    method

    the method of the promised request

    host

    the host of the promised request

    path

    the path of the promised request

    headers

    the headers of the promised request

    returns

    a reference to this, so the API can be used fluently

  12. def pushL(method: HttpMethod, path: String): Task[HttpServerResponse]

    Like String, String, MultiMap, Handler) with the host copied from the current request.

  13. def pushL(method: HttpMethod, path: String, headers: MultiMap): Task[HttpServerResponse]

    Like String, String, MultiMap, Handler) with the host copied from the current request.

  14. def pushL(method: HttpMethod, host: String, path: String): Task[HttpServerResponse]

    Like String, String, MultiMap, Handler) with no headers.

  15. def sendFileL(filename: String, offset: Long, length: Long): Task[Unit]

    Like long, long) but providing a handler which will be notified once the file has been completely written to the wire.

    Like long, long) but providing a handler which will be notified once the file has been completely written to the wire.

    filename

    path to the file to serve

    offset

    the offset to serve from

    length

    the length to serve to

    returns

    a reference to this, so the API can be used fluently

  16. def sendFileL(filename: String, offset: Long): Task[Unit]

    Like long) but providing a handler which will be notified once the file has been completely written to the wire.

    Like long) but providing a handler which will be notified once the file has been completely written to the wire.

    filename

    path to the file to serve

    offset

    the offset to serve from

    returns

    a reference to this, so the API can be used fluently

  17. def sendFileL(filename: String): Task[Unit]

    Like #sendFile(String) but providing a handler which will be notified once the file has been completely written to the wire.

    Like #sendFile(String) but providing a handler which will be notified once the file has been completely written to the wire.

    filename

    path to the file to serve

    returns

    a reference to this, so the API can be used fluently

  18. val target: HttpServerResponse
  19. def toString(): String
    Definition Classes
    Any
  20. def writeL(chunk: String): Task[Unit]

    Same as #write(String) but with an handler called when the operation completes

  21. def writeL(chunk: String, enc: String): Task[Unit]

    Same as String) but with an handler called when the operation completes

  22. def writeL(data: Buffer): Task[Unit]

    Same as #write(Buffer) but with an handler called when the operation completes

Inherited from AnyVal

Inherited from Any

Ungrouped