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 (1
[0065] Example (1): For a certain type of service, the annotation of the interface implementation class adopts the first custom annotation, and the generated method body is capable of presetting the preset parameters, and adding the processed data to the In the request path, the execution logic code of the access request is assembled according to the request path after the data is added, the service type and the request method, that is, the generated method body can perform preset processing on the preset parameters, and add the processed data into the request path, and assemble an access request according to the request path after the data is added, the service type and the request method. There are many kinds of preset processing mentioned above, for example, signature processing.
example (2
[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 can preset the preset parameters, and the processing The added data and each method parameter parsed from the parameter entity are added to the request path, and the execution logic code of the access request is assembled according to the request path after the added data, the service type, and the request method, that is, the method The entity can perform preset processing on the preset parameters, add the 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 method is assembled into an access request, and there are many kinds of preset processing, for example, signature processing.
[0067] Among them, the preset parameters, for example, when logging in t...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com