In package com.eden.orchid.api.server

class com.eden.orchid.api.server.OrchidResponse

Constructors

public <init>(com.eden.orchid.api.OrchidContext)

Parameters:

Methods

public final getResponse(): Response

Parameters:
  • No parameters
public final status(kotlin.Int): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • status: Int
public final json(JSONObject): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • json: JSONObject
public final json(kotlin.collections.MutableMap((kotlin.String, kotlin.Any))): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • json: MutableMap
public final json(JSONArray): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • json: JSONArray
public final json(kotlin.collections.MutableCollection((kotlin.Any))): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • json: MutableCollection
public final header(kotlin.String, kotlin.String): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • header: String
  • value: String
public final contentStream(java.io.InputStream): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • contentStream:
public final contentStream(java.io.InputStream, kotlin.Long): com.eden.orchid.api.server.OrchidResponse

Parameters:
  • contentStream:
  • contentStreamLength: Long