SAP ABAP Class CL_REST_MULTIPART_FORM_DATA (REST Reader/Writer for Media Type "multipart/form-data")
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SREST_EXT (Package) REST Extensions
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_REST_FORM_DATA | REST Reader/Writer for application/x-www-form-urlencoded | 20100319 |
Properties
| Class | CL_REST_MULTIPART_FORM_DATA | |
| Short Description | REST Reader/Writer for Media Type "multipart/form-data" | |
| Super Class | CL_REST_FORM_DATA | REST Reader/Writer for application/x-www-form-urlencoded |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SREST_EXT | REST Extensions |
| Created | 20100319 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_REST_MULTIPART_FORM_DATA has no forward declaration.
Interfaces
Class CL_REST_MULTIPART_FORM_DATA has no interface implemented.
Friends
Class CL_REST_MULTIPART_FORM_DATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | REST_EXT_FORM_DATA_FILE_T | Files | 20100319 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20100319 | |
| 2 | Instance method | Private | Method | Deserialize | 20110913 | |
| 3 | Instance method | Public | Method | Get File | 20100319 | |
| 4 | Instance method | Public | Method | Get Files | 20100319 | |
| 5 | Static method | Private | Method | Get information from content disposition header | 20100803 | |
| 6 | Instance method | Public | Method | Set File | 20100319 | |
| 7 | Instance method | Public | Method | Set Files | 20100319 |
Events
Class CL_REST_MULTIPART_FORM_DATA has no event.
Types
Class CL_REST_MULTIPART_FORM_DATA has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST Entity | 20100319 |
Method CONSTRUCTOR on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method DESERIALIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST Entity | 20110913 |
Method DESERIALIZE on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method GET_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Type reference (TYPE) | XSTRING | Data | 20100319 | |||
| 2 | EV_FILENAME | Call by reference | Type reference (TYPE) | STRING | File | 20100319 | |||
| 3 | EV_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type | 20100319 | |||
| 4 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20100319 |
Method GET_FILE on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method GET_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_FILES | Value transfer | Type reference (TYPE) | REST_EXT_FORM_DATA_FILE_T | Files | 20100319 |
Method GET_FILES on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method PARSE_CONTENT_DISPOSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONTENT_DATA | Call by reference | Type reference (TYPE) | STRING | 20100803 | ||||
| 2 | EV_CONTENT_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | ||||
| 3 | EV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | 20100803 | ||||
| 4 | IO_ENTITY | Call by reference | Object reference (TYPE REF TO) | IF_REST_ENTITY | REST representation | 20100803 |
Method PARSE_CONTENT_DISPOSITION on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method SET_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATA | Call by reference | Type reference (TYPE) | XSTRING | Data | 20100319 | |||
| 2 | IV_FILENAME | Call by reference | Type reference (TYPE) | STRING | File Name | 20100319 | |||
| 3 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Form Field Name | 20100319 | |||
| 4 | IV_TYPE | Call by reference | Type reference (TYPE) | STRING | Content Type | 20100319 |
Method SET_FILE on class CL_REST_MULTIPART_FORM_DATA has no exception.
Method SET_FILES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_FILES | Call by reference | Type reference (TYPE) | REST_EXT_FORM_DATA_FILE_T | Files | 20100319 |
Method SET_FILES on class CL_REST_MULTIPART_FORM_DATA has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |