public class ReSTLocal
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ReST.Builder |
builder(java.lang.String url,
HttpClient currentClient)
Create an internal ReST call
|
static ReST.Builder |
builder(java.lang.String url,
HttpClient currentClient,
Login login)
Create an internal ReST call
|
static ReST.Builder |
builder(java.lang.String url,
Login login)
Create an internal ReST call
|
static ReST.Builder |
builder(java.lang.String url,
Login login,
boolean useCapitalParamNames) |
static ReST.Builder |
builder(java.net.URL url,
HttpClient currentClient)
Create an internal ReST call
|
static ReST.Builder |
builder(java.net.URL url,
HttpClient currentClient,
Login login)
Create an internal ReST call
|
static ReST.Builder |
builder(java.net.URL url,
Login login)
Create an internal ReST call
|
static ReST.Builder |
builder(java.net.URL url,
Login login,
boolean useCapitalParamNames) |
public static ReST.Builder builder(@Nonnull java.lang.String url, @Nonnull Login login) throws java.net.MalformedURLException, InvalidDataException
url - the URLlogin - the login to use.java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.public static ReST.Builder builder(@Nonnull java.lang.String url, @Nonnull Login login, boolean useCapitalParamNames) throws java.net.MalformedURLException, InvalidDataException
url - login - useCapitalParamNames - by default we will convert all parameter name into capital letters, pass false if you need it to be unchangedjava.net.MalformedURLExceptionInvalidDataExceptionpublic static ReST.Builder builder(@Nonnull java.lang.String url, @Nonnull HttpClient currentClient) throws java.net.MalformedURLException, InvalidDataException, ExceptionResponse
url - the URLcurrentClient - java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.ExceptionResponsepublic static ReST.Builder builder(@Nonnull java.lang.String url, @Nonnull HttpClient currentClient, @Nonnull Login login) throws java.net.MalformedURLException, InvalidDataException, ExceptionResponse
url - the URLcurrentClient - login - java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.ExceptionResponsepublic static ReST.Builder builder(@Nonnull java.net.URL url, @Nonnull Login login) throws java.net.MalformedURLException, InvalidDataException
url - the URLlogin - the login to use.java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.public static ReST.Builder builder(@Nonnull java.net.URL url, @Nonnull Login login, boolean useCapitalParamNames) throws java.net.MalformedURLException, InvalidDataException
url - login - useCapitalParamNames - by default we will convert all parameter name into capital letters, pass false if you need it to be unchangedjava.net.MalformedURLExceptionInvalidDataExceptionpublic static ReST.Builder builder(@Nonnull java.net.URL url, @Nonnull HttpClient currentClient) throws java.net.MalformedURLException, InvalidDataException, ExceptionResponse
url - the URLcurrentClient - java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.ExceptionResponsepublic static ReST.Builder builder(@Nonnull java.net.URL url, @Nonnull HttpClient currentClient, @Nonnull Login login) throws java.net.MalformedURLException, InvalidDataException, ExceptionResponse
url - the URLcurrentClient - login - java.net.MalformedURLException - the URL is not validInvalidDataException - the call is invalid.ExceptionResponsestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.