public class NuxeoServer extends Object
Modifier and Type | Field and Description |
---|---|
static int |
AUTH_TYPE_BASIC |
static int |
AUTH_TYPE_NONE |
static int |
AUTH_TYPE_SECRET |
Constructor and Description |
---|
NuxeoServer(String baseURL) |
NuxeoServer(String protocol,
String serverIP,
String serverPort) |
NuxeoServer(String protocol,
String serverIP,
String serverPort,
String servletPath) |
Modifier and Type | Method and Description |
---|---|
org.restlet.resource.Representation |
doRestletGetCall(List<String> pathParams,
Map<String,String> queryParams) |
org.restlet.resource.Representation |
doRestletGetCall(String subPath,
Map<String,String> queryParams) |
org.restlet.resource.Representation |
doRestletPostCall(List<String> pathParams,
Map<String,String> queryParams,
InputStream istream)
Deprecated.
Use
doRestletPostCall(List, Map, InputStream, Long) and provide a length. |
org.restlet.resource.Representation |
doRestletPostCall(List<String> pathParams,
Map<String,String> queryParams,
InputStream istream,
Long size) |
org.restlet.resource.Representation |
doRestletPostCall(String subPath,
Map<String,String> queryParams,
InputStream istream,
Long size) |
int |
getAuthType() |
String |
getDavPrefix() |
String |
getPassword() |
String |
getRestPrefix() |
String |
getSecretToken() |
String |
getUserName() |
void |
setAuthType(int authType) |
void |
setBasicAuthentication(String userName,
String password) |
void |
setCookies(List<org.restlet.data.Cookie> cookies) |
void |
setDavPrefix(String davPrefix) |
void |
setPassword(String password) |
void |
setRestPrefix(String restPrefix) |
void |
setSecretToken(String secretToken) |
void |
setSharedSecretAuthentication(String userName,
String secretToken) |
void |
setUserName(String userName) |
public static final int AUTH_TYPE_NONE
public static final int AUTH_TYPE_BASIC
public static final int AUTH_TYPE_SECRET
public NuxeoServer(String baseURL)
public void setSharedSecretAuthentication(String userName, String secretToken)
public void setCookies(List<org.restlet.data.Cookie> cookies)
public org.restlet.resource.Representation doRestletPostCall(List<String> pathParams, Map<String,String> queryParams, InputStream istream)
doRestletPostCall(List, Map, InputStream, Long)
and provide a length.pathParams
- queryParams
- istream
- public org.restlet.resource.Representation doRestletPostCall(List<String> pathParams, Map<String,String> queryParams, InputStream istream, Long size)
public org.restlet.resource.Representation doRestletPostCall(String subPath, Map<String,String> queryParams, InputStream istream, Long size)
public org.restlet.resource.Representation doRestletGetCall(List<String> pathParams, Map<String,String> queryParams)
public org.restlet.resource.Representation doRestletGetCall(String subPath, Map<String,String> queryParams)
public int getAuthType()
public void setAuthType(int authType)
public String getDavPrefix()
public void setDavPrefix(String davPrefix)
public String getPassword()
public void setPassword(String password)
public String getRestPrefix()
public void setRestPrefix(String restPrefix)
public String getSecretToken()
public void setSecretToken(String secretToken)
public String getUserName()
public void setUserName(String userName)
Copyright © 2015 Nuxeo SA. All rights reserved.