Top Fields Constructors Methods
io.vertx.core.http

public Class UpgradeRejectedException

extends VertxException
Class Inheritance
Imports
io.vertx.core.MultiMap, .VertxException, io.vertx.core.buffer.Buffer

Author
Julien Viet

Field Summary

Modifier and TypeField and Description
private final Buffer
body

References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.
private final MultiMap
private final int

Constructor Summary

AccessConstructor and Description
public
UpgradeRejectedException(String message, int status, MultiMap headers, Buffer content)
References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public Buffer

Returns:

the body of the response that rejected the upgrade
getBody
()
References Deprecated Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

public MultiMap

Returns:

the headers of the response that rejected the upgrade
getHeaders
()

public int

Returns:

the status code of the response that rejected the upgrade
getStatus
()

Field Detail

bodyback to summary
private final Buffer body

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

headersback to summary
private final MultiMap headers
statusback to summary
private final int status

Constructor Detail

UpgradeRejectedExceptionback to summary
public UpgradeRejectedException(String message, int status, MultiMap headers, Buffer content)

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Method Detail

getBodyback to summary
public Buffer getBody()

References Deprecated

Buffer is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Returns:Buffer

the body of the response that rejected the upgrade

getHeadersback to summary
public MultiMap getHeaders()
Returns:MultiMap

the headers of the response that rejected the upgrade

getStatusback to summary
public int getStatus()
Returns:int

the status code of the response that rejected the upgrade