Converter

Inclusion code:

Service Deployment
Port Name Location Protocol Interfaces
Converter documentation:
Converter - - ConverterInterface

List of Available Interfaces

ConverterInterface

Interface documentation:

Operation Name Input Type Output Type Faults
stringToRaw StringToRawRequest raw IOException( IOExceptionType )
base64ToRaw string raw IOException( IOExceptionType )
rawToBase64 raw string
rawToString RawToStringRequest string IOException( IOExceptionType )

Operation Description

stringToRaw

Operation documentation: string <-> raw (byte arrays) conversion methods

Invocation template:

stringToRaw@Converter( request )( response )

Request type

Type: StringToRawRequest

type StringToRawRequest: string {
    .charset?: string
}

StringToRawRequest : string

  • charset : string : set the encoding. Default: system (eg. for Unix-like OS UTF-8)

Response type

Type: raw

raw : raw

Possible faults thrown

Fault IOException with type IOExceptionType

Fault-handling install template:

install ( IOException => /* error-handling code */ )
type IOExceptionType: JavaExceptionType

base64ToRaw

Operation documentation:

Invocation template:

base64ToRaw@Converter( request )( response )

Request type

Type: string

string : string

Response type

Type: raw

raw : raw

Possible faults thrown

Fault IOException with type IOExceptionType

Fault-handling install template:

install ( IOException => /* error-handling code */ )
type IOExceptionType: JavaExceptionType

rawToBase64

Operation documentation:

Invocation template:

rawToBase64@Converter( request )( response )

Request type

Type: raw

raw : raw

Response type

Type: string

string : string

rawToString

Operation documentation: string <-> raw (byte arrays) conversion methods

Invocation template:

rawToString@Converter( request )( response )

Request type

Type: RawToStringRequest

type RawToStringRequest: raw {
    .charset?: string
}

RawToStringRequest : raw : The byte array to be converted

  • charset : string : set the encoding. Default: system (eg. for Unix-like OS UTF-8)

Response type

Type: string

string : string

Possible faults thrown

Fault IOException with type IOExceptionType

Fault-handling install template:

install ( IOException => /* error-handling code */ )
type IOExceptionType: JavaExceptionType

Subtypes

JavaExceptionType

type JavaExceptionType: string { .stackTrace: string }

results matching ""

    No results matching ""