Doc
  • Get Started
  • Academy
  • Library
  • Languages iconEnglish
    • Português

›Objects

Libraries

  • Overview
  • Introduction

Resources & Objects

    Resources

    • App
    • Auth
    • Component
    • Config
    • Convert
    • CORS
    • Cron
    • Crypto
    • CSV
    • DB
    • Env
    • Error
    • Exec
    • Firebase
    • Form
    • Group
    • Header
    • HTML
    • Jasper
    • Jwt
    • Lang
    • Log
    • Monitor
    • OS
    • Out
    • PDF
    • RabbitMQ
    • Random
    • Remote
    • Form
    • Req
    • Res
    • Server
    • Setup
    • SMTP
    • Storage
    • Template
    • Time
    • Uid
    • Url
    • User
    • Val
    • WebSocket
    • XLS
    • XML

    Objects

    • Async
    • CheckExists
    • Column
    • DataItem
    • DataSchema
    • DBBatch
    • DBSearchResult
    • File
    • Index
    • InputStream
    • OSCommand
    • OutputStream
    • RandomString
    • RemoteResponse
    • Sequence
    • Service
    • SMTPConfig
    • Table
    • Values
    • XLSPosition

App Folders

  • Application folder structure
  • Config
  • DB
  • Public
  • Server
  • Storage
  • UI

RemoteResponse

Object that contains the details of the response obtained through the remote connection, when using the Remote resource.


bytes


bytes() : byte[]

Return

( byte[] )


content


content() : Object

Return

( Object )


contentType


contentType() : string

Return

( string )


error


error() : Throwable

Return

( Throwable )


file


file() : File

Return

( File )


getBytes


getBytes() : byte[]

Return

( byte[] )


getContent


getContent() : Object

Return

( Object )


getContentType


getContentType() : string

Return

( string )


getError


getError() : Throwable

Return

( Throwable )


getFile


getFile() : File

Return

( File )


getHeader


getHeader() : Values

Return

( Values )


getJSON


getJSON() : Values

Return

( Values )


getMethod


getMethod() : string

Description

Gets the code of the HTTP method used for the remote connection.

Return

( string )

HTTP method code that was submitted.


getStatusCode


getStatusCode() : int

Return

( int )


getURL


getURL() : string

Return

( string )


header


header() : Values

Return

( Values )


isForm


isForm() : boolean

Return

( boolean )


isJSON


isJSON() : boolean

Return

( boolean )


isMultipartFormData


isMultipartFormData() : boolean

Return

( boolean )


isOk


isOk() : boolean

Return

( boolean )


isText


isText() : boolean

Return

( boolean )


json


json() : Values

Return

( Values )


method


method() : string

Description

Gets the code of the HTTP method used for the remote connection.

Return

( string )

HTTP method code that was submitted.


method(method: string) : RemoteResponse

Description

Defines the HTTP method code that was used for the remote connection.

Attributes
NAMETYPEDESCRIPTION
methodstringHTTP method code.
Return

( RemoteResponse )

Remote connection submission response.


ok


ok() : boolean

Return

( boolean )


setBytes


setBytes(arg0: byte[]) : RemoteResponse

Attributes
NAMETYPEDESCRIPTION
arg0byte[]
Return

( RemoteResponse )


setContent


setContent(arg0: Object) : RemoteResponse

Attributes
NAMETYPEDESCRIPTION
arg0Object
Return

( RemoteResponse )


setError


setError(arg0: Throwable) : RemoteResponse

Attributes
NAMETYPEDESCRIPTION
arg0Throwable
Return

( RemoteResponse )


setHeader


setHeader(arg0: Values) : RemoteResponse

Attributes
NAMETYPEDESCRIPTION
arg0Values
Return

( RemoteResponse )


setMethod


setMethod(method: string) : RemoteResponse

Description

Defines the HTTP method code that was used for the remote connection.

Attributes
NAMETYPEDESCRIPTION
methodstringHTTP method code.
Return

( RemoteResponse )

Remote connection submission response.


setStatusCode


setStatusCode(arg0: int) : RemoteResponse

Attributes
NAMETYPEDESCRIPTION
arg0int
Return

( RemoteResponse )


setURL


setURL(arg0: string) : Response

Attributes
NAMETYPEDESCRIPTION
arg0string
Return

( Response )


statusCode


statusCode() : int

Return

( int )


url


url() : string

Return

( string )


← RandomStringSequence →
  • bytes
  • content
  • contentType
  • error
  • file
  • getBytes
  • getContent
  • getContentType
  • getError
  • getFile
  • getHeader
  • getJSON
  • getMethod
  • getStatusCode
  • getURL
  • header
  • isForm
  • isJSON
  • isMultipartFormData
  • isOk
  • isText
  • json
  • method
  • ok
  • setBytes
  • setContent
  • setError
  • setHeader
  • setMethod
  • setStatusCode
  • setURL
  • statusCode
  • url

Open Source

Download

admin@netuno.org

support@netuno.org

Copyright © Sitana 2022