Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public static final class Http.Response

  1. Object
  2. Http.Response
One HTTP response: status line, headers and body.

Methods

public int getStatus()
public byte[] getBody()
public String getBodyAsString()
public String getHeader(String name)Case-insensitive, because header case is not guaranteed by anything.

Inherited methods

Method details

getStatus

public int getStatus()

getBody

public byte[] getBody()

getBodyAsString

public String getBodyAsString()

getHeader

public String getHeader(String name)
Case-insensitive, because header case is not guaranteed by anything.