Converter

Inclusion code:

Service Deployment
Port NameLocationProtocolInterfaces
Converter documentation:
Converter--ConverterInterface

List of Available Interfaces

ConverterInterface

Interface documentation:

Operation NameInput TypeOutput TypeFaults
stringToRawStringToRawRequestrawIOException( IOExceptionType )
base64ToRawstringrawIOException( IOExceptionType )
rawToBase64rawstring
rawToStringRawToStringRequeststringIOException( 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 }