|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.paypal.base.rest.RESTUtil
public final class RESTUtil
RESTUtil acts as utility class used by REST API system
| Method Summary | |
|---|---|
static String |
formatURIPath(String pattern,
Map<String,String> pathParameters)
Formats the URI path for REST calls. |
static String |
formatURIPath(String pattern,
Map<String,String> pathParameters,
Map<String,String> queryParameters)
Formats the URI path for REST calls. |
static String |
formatURIPath(String pattern,
Object[] parameters)
Formats the URI path for REST calls. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String formatURIPath(String pattern,
Object[] parameters)
pattern - URI pattern with place holders for replacement stringsparameters - Replacement objects
public static String formatURIPath(String pattern,
Map<String,String> pathParameters)
throws PayPalRESTException
Map
pattern - URI pattern with named place holderspathParameters - Parameter Map
PayPalRESTException
public static String formatURIPath(String pattern,
Map<String,String> pathParameters,
Map<String,String> queryParameters)
throws PayPalRESTException
Map. Query parameters are appended to the end of the URI path
pattern - URI pattern with named place holderspathParameters - Parameter MapqueryParameters - Query parameters Map
PayPalRESTException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||