All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.viaoa.remote.rest.info.OARestClassInfo Maven / Gradle / Ivy

There is a newer version: 3.7.10
Show newest version
package com.viaoa.remote.rest.info;

import java.util.ArrayList;
import java.util.List;

/**
 * Used by OARestClient to manage remote Java interfaces that can have their methods automatically invoke methods using HTTP(S) on another
 * server, either as a webserver, webservice, REST API, or as a Java2Java remote method call to the Implementation class on the server.
 * 

*

* The OARestClassInfo is the metadata about a Java interface that has been annotated to allow OARestClient to create an instance of the * interface.
* OARestClient will then manage each method call to use HTTP(S) to invoke and get the return value from another server. *

* * @author vvia */ public class OARestClassInfo { public Class interfaceClass; public ArrayList alMethodInfo = new ArrayList(); public String contextName; public OARestClassInfo(Class clazz) { this.interfaceClass = clazz; } public ArrayList verify() { ArrayList alErrors = new ArrayList(); for (OARestMethodInfo mi : alMethodInfo) { List al = mi.verify(); alErrors.addAll(al); } return alErrors; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy