Class RemoteOperationMeta
java.lang.Object
org.apache.juneau.rest.client.remote.RemoteOperationMeta
Contains the meta-data about a Java method on a REST proxy class.
 
 Captures the information in @RemoteOp annotations for caching and reuse.
 
See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionRemoteOperationMeta(String parentPath, Method m, String defaultMethod) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionforEachException(Consumer<Class<?>> action) Performs an action on the exceptions thrown by this method.forEachFormDataArg(Consumer<RemoteOperationArg> action) Performs an action on the@FormDataannotated arguments on this Java method.forEachHeaderArg(Consumer<RemoteOperationArg> action) Performs an action on the@Headerannotated arguments on this Java method.forEachPathArg(Consumer<RemoteOperationArg> action) Performs an action on the@Pathannotated arguments on this Java method.forEachQueryArg(Consumer<RemoteOperationArg> action) Performs an action on the@Queryannotated arguments on this Java method.Performs an action on the@Requestannotated arguments on this Java method.Returns the argument annotated with@Content.Returns the absolute URI of the REST interface invoked by this Java method.Returns the value of the@RemoteOp(method)annotation on this Java method.Returns whether the method returns the HTTP response body or status code.
- 
Constructor Details- 
RemoteOperationMetaConstructor.- Parameters:
- parentPath- The absolute URI of the REST interface backing the interface proxy.
- m- The Java method.
- defaultMethod- The default HTTP method if not specified through annotation.
 
 
- 
- 
Method Details- 
getHttpMethodReturns the value of the@RemoteOp(method)annotation on this Java method.- Returns:
- The value of the annotation, never null .
 
- 
getFullPathReturns the absolute URI of the REST interface invoked by this Java method.- Returns:
- The absolute URI of the REST interface, never null .
 
- 
forEachPathArgPerforms an action on the@Pathannotated arguments on this Java method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
- 
forEachQueryArgPerforms an action on the@Queryannotated arguments on this Java method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
- 
forEachFormDataArgPerforms an action on the@FormDataannotated arguments on this Java method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
- 
forEachHeaderArgPerforms an action on the@Headerannotated arguments on this Java method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
- 
forEachRequestArgPerforms an action on the@Requestannotated arguments on this Java method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
- 
getContentArgReturns the argument annotated with@Content.- Returns:
- A index of the argument with the @Contentannotation, ornull if no argument exists.
 
- 
getReturnsReturns whether the method returns the HTTP response body or status code.- Returns:
- Whether the method returns the HTTP response body or status code.
 
- 
forEachExceptionPerforms an action on the exceptions thrown by this method.- Parameters:
- action- The action to perform.
- Returns:
- This object.
 
 
-