WrappedRequest

The "@WrappedRequest" annotation is applied to those methods offered by libraries where the original request of the API service involved are "wrapped" by the methods of the library, that is, the possible combinations with any parameters of the original request are easily added to this request with the "wrapped" method marked with this annotation


        // original params (NOT MANDATORY) of the API service: maxResults (int), includeAnyThing (boolean)
        // original request
        public void () {
            sendApiRequest();
        }

        
        public void makeRequest(int maxResults){
            sendApiRequest(maxResults);
        }

        
        public void makeRequest(boolean includeAnyThing){
            sendApiRequest(includeAnyThing);
        }

        
        public void makeRequest(int maxResults, boolean includeAnyThing){
            sendApiRequest(maxResults, includeAnyThing);
        }
    

Author

N7ghtm4r3 - Tecknobit

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String