|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RpcCall
An interface representing a generalized RPC method call.
This interface is patterned after XML-RPC and essentially encapsulates a method name and a list of parameters.
Method Summary | |
---|---|
java.lang.String |
getHttpMethod()
|
java.lang.String |
getHttpURI(java.net.URL baseUrl)
Map the destination URL onto a URI for use in an HTTP request. |
java.lang.String |
getName()
Get the method name to invoke (or being invoked). |
java.lang.Object[] |
getParameters()
Get a list of parameters to pass to (or that were passed to) this method call. |
Methods inherited from interface com.flat502.rox.marshal.RpcMethod |
---|
getContentType, marshal |
Method Detail |
---|
java.lang.String getName()
java.lang.Object[] getParameters()
Implementations must not return null
.
If no parameters exist a zero length array should
be returned to simplify logic that depends on this
method.
null
.java.lang.String getHttpMethod()
java.lang.String getHttpURI(java.net.URL baseUrl)
This method provides implementations with an opportunity to generate an appropriate URI (possibly tranformed) before the underlying HTTP request is contructed and sent.
baseUrl
- The URL the client making the call was directed at.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |