OSID Logo
OSID Specifications
transport package
Version 3.1.0
Interfaceosid.transport.Request
Implementsosid.Suppliable
osid.Extensible
Used Byosid.transport.OutboundMessageSession
Description

A Request represents a stuctured request to a service endpoint. The record types supported may vary on a request by request basis as defined in the underlying protocol.

MethodsetId
Description

Sets an identifier for this request.

Parametersosid.id.Idid an identifier
ErrorsNULL_ARGUMENT id is null
Compliancemandatory This method must be implemented.
MethodgetRequestRecord
Description

Gets the request record. This method is used to retrieve an object implementing the requested message.

Parametersosid.type.TyperequestRecordType a request record type
Returnosid.transport.records.RequestRecord the request record
ErrorsNULL_ARGUMENT requestRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(requestType) is false
Compliancemandatory This method must be implemented.