@UriParams public class BoxConfiguration extends Object
Constructor and Description |
---|
BoxConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
BoxApiName |
getApiName() |
com.box.boxjavalibv2.authorization.IAuthSecureStorage |
getAuthSecureStorage() |
com.box.boxjavalibv2.IBoxConfig |
getBoxConfig() |
String |
getClientId() |
String |
getClientSecret() |
com.box.boxjavalibv2.BoxConnectionManagerBuilder |
getConnectionManagerBuilder() |
Map<String,Object> |
getHttpParams() |
int |
getLoginTimeout() |
String |
getMethodName() |
com.box.boxjavalibv2.authorization.OAuthRefreshListener |
getRefreshListener() |
String |
getSharedLink() |
String |
getSharedPassword() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
String |
getUserName() |
String |
getUserPassword() |
int |
hashCode() |
boolean |
isRevokeOnShutdown() |
void |
setApiName(BoxApiName apiName)
What kind of operation to perform
|
void |
setAuthSecureStorage(com.box.boxjavalibv2.authorization.IAuthSecureStorage authSecureStorage)
OAuth Secure Storage callback, can be used to provide and or save OAuth tokens.
|
void |
setBoxConfig(com.box.boxjavalibv2.IBoxConfig boxConfig)
Custom Box SDK configuration, not required normally
|
void |
setClientId(String clientId)
Box application client ID
|
void |
setClientSecret(String clientSecret)
Box application client secret
|
void |
setConnectionManagerBuilder(com.box.boxjavalibv2.BoxConnectionManagerBuilder connectionManagerBuilder)
Custom Box connection manager builder, used to override default settings like max connections for underlying HttpClient.
|
void |
setHttpParams(Map<String,Object> httpParams)
Custom HTTP params for settings like proxy host
|
void |
setLoginTimeout(int loginTimeout)
Amount of time the component will wait for a response from Box.com, default is 30 seconds
|
void |
setMethodName(String methodName)
What sub operation to use for the selected operation
|
void |
setRefreshListener(com.box.boxjavalibv2.authorization.OAuthRefreshListener refreshListener)
OAuth listener for token updates, if the Camel application needs to use the access token outside the route
|
void |
setRevokeOnShutdown(boolean revokeOnShutdown)
Flag to revoke OAuth refresh token on route shutdown, default false.
|
void |
setSharedLink(String sharedLink)
Box shared link for shared endpoints, can be a link for a shared comment, file or folder
|
void |
setSharedPassword(String sharedPassword)
Password associated with the shared link, MUST be provided with sharedLink
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
void |
setUserName(String userName)
Box user name, MUST be provided
|
void |
setUserPassword(String userPassword)
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call
|
public BoxApiName getApiName()
public void setApiName(BoxApiName apiName)
public String getMethodName()
public void setMethodName(String methodName)
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public com.box.boxjavalibv2.authorization.IAuthSecureStorage getAuthSecureStorage()
public void setAuthSecureStorage(com.box.boxjavalibv2.authorization.IAuthSecureStorage authSecureStorage)
public String getUserName()
public void setUserName(String userName)
public String getUserPassword()
public void setUserPassword(String userPassword)
public com.box.boxjavalibv2.authorization.OAuthRefreshListener getRefreshListener()
public void setRefreshListener(com.box.boxjavalibv2.authorization.OAuthRefreshListener refreshListener)
public boolean isRevokeOnShutdown()
public void setRevokeOnShutdown(boolean revokeOnShutdown)
public String getSharedLink()
public void setSharedLink(String sharedLink)
public String getSharedPassword()
public void setSharedPassword(String sharedPassword)
public com.box.boxjavalibv2.IBoxConfig getBoxConfig()
public void setBoxConfig(com.box.boxjavalibv2.IBoxConfig boxConfig)
public com.box.boxjavalibv2.BoxConnectionManagerBuilder getConnectionManagerBuilder()
public void setConnectionManagerBuilder(com.box.boxjavalibv2.BoxConnectionManagerBuilder connectionManagerBuilder)
public void setHttpParams(Map<String,Object> httpParams)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public int getLoginTimeout()
public void setLoginTimeout(int loginTimeout)
Apache Camel