Interface creation method and device, service request method and device, computer device and medium
A computer program and interface technology, applied in the field of service requests, can solve problems such as inability to process parameters, increase the amount of code in the business layer, and http access requests cannot meet the requirements of complex services, etc., to achieve the effect of increasing the amount of code and using it easily
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example
[0065] Example (1): For a certain type of service, the first custom annotation is used for the annotation of the interface implementation class, and the generated method body is capable of performing preset processing on the preset parameters, and adding the processed data to the In the request path, it is assembled into the execution logic code of the access request according to the request path after adding the data, the service type and the request method, that is, the generated method body can preset the preset parameters and add the processed data To the request path, and assemble into an access request according to the request path after adding data, the service type and the request mode. There are many kinds of preset processing, for example, signature processing.
Example
[0066] Example (2): For another type of service, the annotations in the interface implementation class use the first custom annotation and the second custom annotation, and the generated method body is capable of pre-processing the preset parameters, and will process The latter data and each method parameter parsed from the parameter entity are added to the request path, and are assembled into the execution logic code of the access request according to the request path after adding the data, the service type and the request mode, namely the method The entity can perform preset processing on preset parameters, add processed data and each method parameter parsed from the parameter entity to the request path, and according to the request path after adding data, the service type and The request mode is assembled into an access request, and there are multiple preset processings described above, for example, signature processing.
[0067] Among them, the preset parameters, for example,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap