public class HttpConfiguration extends TransportServiceConfiguration
| Constructor and Description |
|---|
HttpConfiguration()
Creates new instance.
|
HttpConfiguration(HttpConfiguration that)
Creates new instance from existing instance.
|
HttpConfiguration(TaggedProperties[] languages,
java.lang.String logo,
AutoLogoutTimeout autoLogoutTimeout,
long connectionTimeout,
java.lang.String redirectionUrl,
boolean showTransferType,
boolean showLoginInfo,
boolean showAccountLink,
boolean showSearch,
boolean documentViewerEnabled,
boolean emailFileTransferEnabled,
Form[] uploadForms,
boolean uploadFormRequired,
SelfRegistrationConfiguration registrationConfiguration,
java.lang.String aftpNatHost,
java.lang.String theme,
int version)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adjustLanguages(TaggedProperties original)
Resets language resources to provided defaults.
|
Configuration |
copy() |
java.lang.String |
getAftpNatHost()
Returns AFTP NAT host for Java applet connection.
|
AutoLogoutTimeout |
getAutoLogoutTimeout()
Gets automatic inactivity logout descriptor.
|
long |
getConnectionTimeout()
Gets HTTP connection timeout in ms.
|
TaggedProperties[] |
getLanguages()
Gets language resources.
|
java.lang.String |
getLogo()
Gets logo.
|
java.lang.String |
getRedirectionUrl()
Returns logout redirection URL.
|
SelfRegistrationConfiguration |
getRegistrationConfiguration()
Gets self-registration process configuration.
|
java.lang.String |
getTheme() |
Form[] |
getUploadForms()
Returns upload forms.
|
boolean |
isAppletAllowed()
Deprecated.
Support for Applet removed
|
boolean |
isDocumentViewerEnabled()
Gets whether Web Document Viewer enabled.
|
boolean |
isEmailFileTransferEnabled()
Gets whether ad-hoc email file transfer enabled.
|
boolean |
isShowAccountLink()
Gets whether account link is shown in web interface.
|
boolean |
isShowLoginInfo()
Gets whether login information is shown in web interface.
|
boolean |
isShowSearch()
Gets whether search form is shown in web interface.
|
boolean |
isShowTransferType()
Gets whether transfer type is shown in web interface.
|
boolean |
isUploadFormRequired()
Get whether upload form is required.
|
boolean |
isUseFlashUploadComponent()
Deprecated.
Support for Flash upload removed
|
java.util.Map<java.lang.String,TaggedProperties> |
languages() |
byte[] |
logoBytes()
Gets raw logo image data.
|
void |
logoBytes(byte[] data)
Sets the logo.
|
void |
setAftpNatHost(java.lang.String value)
Sets AFTP NAT host for Java applet connection.
|
void |
setAppletAllowed(boolean value)
Deprecated.
|
void |
setAutoLogoutTimeout(AutoLogoutTimeout value)
Sets automatic inactivity logout descriptor.
|
void |
setConnectionTimeout(long value)
Sets HTTP connection timeout in ms.
|
void |
setDocumentViewerEnabled(boolean value)
Sets whether Web Document Viewer enabled.
|
void |
setEmailFileTransferEnabled(boolean value)
Sets whether ad-hoc email file transfer enabled.
|
void |
setLanguages(TaggedProperties[] value)
Sets language resources.
|
void |
setLogo(java.lang.String value)
Sets logo data.
|
void |
setRedirectionUrl(java.lang.String value)
Sets logout redirection URL.
|
void |
setRegistrationConfiguration(SelfRegistrationConfiguration value)
Sets self-registration process configuration.
|
void |
setShowAccountLink(boolean value)
Sets whether account link is shown in web interface.
|
void |
setShowLoginInfo(boolean value)
Sets whether login information is shown in web interface.
|
void |
setShowSearch(boolean value)
Sets whether search form is shown in web interface.
|
void |
setShowTransferType(boolean value)
Sets whether transfer type is shown in web interface.
|
void |
setTheme(java.lang.String value) |
void |
setUploadFormRequired(boolean value)
Sets whether upload form is required.
|
void |
setUploadForms(Form[] value)
Sets upload forms.
|
void |
setUseFlashUploadComponent(boolean value)
Deprecated.
Support for Flash upload removed
|
java.lang.String |
toString() |
getVersion, setVersionpublic HttpConfiguration(TaggedProperties[] languages, java.lang.String logo, AutoLogoutTimeout autoLogoutTimeout, long connectionTimeout, java.lang.String redirectionUrl, boolean showTransferType, boolean showLoginInfo, boolean showAccountLink, boolean showSearch, boolean documentViewerEnabled, boolean emailFileTransferEnabled, Form[] uploadForms, boolean uploadFormRequired, SelfRegistrationConfiguration registrationConfiguration, java.lang.String aftpNatHost, java.lang.String theme, int version)
languages - language-related stringslogo - logo dataautoLogoutTimeout - auto logout timeout in msconnectionTimeout - connection timeout in msredirectionUrl - redirection URLshowTransferType - show transfer type flagshowLoginInfo - show login info flagshowAccountLink - show account link flagshowSearch - show search form flagdocumentViewerEnabled - document viewer flagemailFileTransferEnabled - ad-hoc email file transfer flaguploadForms - upload formsuploadFormRequired - required upload formregistrationConfiguration - self-registration configurationaftpNatHost - AFTP NAT host for Java applet connection if anypublic HttpConfiguration(HttpConfiguration that)
that - existing instancepublic HttpConfiguration()
public TaggedProperties[] getLanguages()
public void setLanguages(TaggedProperties[] value)
value - language-related resourcespublic java.lang.String getLogo()
public void setLogo(java.lang.String value)
value - sets logo data as Base64-encoded stringpublic byte[] logoBytes()
public void logoBytes(byte[] data)
data - the logo data bytespublic AutoLogoutTimeout getAutoLogoutTimeout()
public void setAutoLogoutTimeout(AutoLogoutTimeout value)
value - AutoLogoutTimeout descriptorpublic java.lang.String getRedirectionUrl()
public void setRedirectionUrl(java.lang.String value)
value - logout redirection URLpublic boolean isShowLoginInfo()
public void setShowLoginInfo(boolean value)
value - true if enabled, false otherwisepublic boolean isShowAccountLink()
public void setShowAccountLink(boolean value)
value - true if enabled, false otherwisepublic long getConnectionTimeout()
public void setConnectionTimeout(long value)
value - timeout in mspublic boolean isShowTransferType()
public void setShowTransferType(boolean value)
value - true if enabled, false otherwisepublic boolean isDocumentViewerEnabled()
true if enabled, false otherwisepublic void setDocumentViewerEnabled(boolean value)
value - true if enabled, false otherwise@Deprecated public boolean isAppletAllowed()
false@Deprecated public void setAppletAllowed(boolean value)
value - if true applet is allowed
* @deprecated Support for Applet removed@Deprecated public boolean isUseFlashUploadComponent()
false@Deprecated public void setUseFlashUploadComponent(boolean value)
value - true if used, false otherwisepublic boolean isEmailFileTransferEnabled()
true if enabled; false otherwisepublic void setEmailFileTransferEnabled(boolean value)
value - true if enabled; false otherwisepublic Form[] getUploadForms()
public void setUploadForms(Form[] value)
value - upload formspublic boolean isUploadFormRequired()
true is required; false otherwisepublic void setUploadFormRequired(boolean value)
value - true is required; false otherwisepublic boolean isShowSearch()
true is shown; false otherwise.public void setShowSearch(boolean value)
value - true if is shown; false otherwisepublic SelfRegistrationConfiguration getRegistrationConfiguration()
public void setRegistrationConfiguration(SelfRegistrationConfiguration value)
value - self-registration configurationpublic java.lang.String getAftpNatHost()
public void setAftpNatHost(java.lang.String value)
value - the NAT hostpublic java.lang.String getTheme()
public void setTheme(java.lang.String value)
public void adjustLanguages(TaggedProperties original)
original - the default language resourcespublic java.util.Map<java.lang.String,TaggedProperties> languages()
public Configuration copy()
copy in class Configurationpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.