|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.management.descriptors.HttpConfiguration
public class HttpConfiguration
HTTP service descriptor.
Field Summary | |
---|---|
static int |
DEFAULT_TIMEOUT
Default connection timeout of 600,000 ms. |
static java.lang.String |
LOGO_PIC
|
Constructor Summary | |
---|---|
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 showButtonsShortcuts,
boolean showTransferType,
boolean showLoginInfo,
boolean showAccountLink,
boolean showSearch,
boolean documentViewerEnabled,
boolean emailFileTransferEnabled,
Form[] uploadForms,
boolean uploadFormRequired,
SelfRegistrationConfiguration registrationConfiguration,
java.lang.String aftpNatHost)
Creates new instance. |
Method Summary | |
---|---|
void |
adjustLanguages(TaggedProperties original)
Resets language resources to provided defaults. |
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. |
boolean |
getDocumentViewerEnabled()
Gets whether Web Document Viewer enabled. |
boolean |
getEmailFileTransferEnabled()
Gets whether ad-hoc email file transfer enabled. |
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. |
boolean |
getShowAccountLink()
Gets whether account link is shown in web interface. |
boolean |
getShowButtonsShortcuts()
Gets whether button shortcuts are enabled. |
boolean |
getShowLoginInfo()
Gets whether login information is shown in web interface. |
boolean |
getShowSearch()
Gets whether search form is shown in web interface. |
boolean |
getShowTransferType()
Gets whether transfer type is shown in web interface. |
Form[] |
getUploadForms()
Returns upload forms. |
boolean |
getUseFlashUploadComponent()
Deprecated. Support for Flash upload removed |
boolean |
isUploadFormRequired()
Get whether upload form is required. |
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 |
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 |
setShowButtonsShortcuts(boolean value)
Sets whether button shortcuts are enabled. |
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 |
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()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_TIMEOUT
public static final java.lang.String LOGO_PIC
Constructor Detail |
---|
public HttpConfiguration(TaggedProperties[] languages, java.lang.String logo, AutoLogoutTimeout autoLogoutTimeout, long connectionTimeout, java.lang.String redirectionUrl, boolean showButtonsShortcuts, boolean showTransferType, boolean showLoginInfo, boolean showAccountLink, boolean showSearch, boolean documentViewerEnabled, boolean emailFileTransferEnabled, Form[] uploadForms, boolean uploadFormRequired, SelfRegistrationConfiguration registrationConfiguration, java.lang.String aftpNatHost)
languages
- language-related stringslogo
- logo dataautoLogoutTimeout
- auto logout timeout in msconnectionTimeout
- connection timeout in msredirectionUrl
- redirection URLshowButtonsShortcuts
- show buttons shortcuts flagshowTransferType
- 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()
Method Detail |
---|
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 boolean getShowButtonsShortcuts()
public void setShowButtonsShortcuts(boolean value)
value
- true if enabled, false otherwisepublic java.lang.String getRedirectionUrl()
public void setRedirectionUrl(java.lang.String value)
value
- logout redirection URLpublic boolean getShowLoginInfo()
public void setShowLoginInfo(boolean value)
value
- true if enabled, false otherwisepublic boolean getShowAccountLink()
public void setShowAccountLink(boolean value)
value
- true if enabled, false otherwisepublic long getConnectionTimeout()
public void setConnectionTimeout(long value)
value
- timeout in mspublic boolean getShowTransferType()
public void setShowTransferType(boolean value)
value
- true if enabled, false otherwisepublic boolean getDocumentViewerEnabled()
true
if enabled, false
otherwisepublic void setDocumentViewerEnabled(boolean value)
value
- true
if enabled, false
otherwisepublic boolean getUseFlashUploadComponent()
false
public void setUseFlashUploadComponent(boolean value)
value
- true
if used, false
otherwisepublic boolean getEmailFileTransferEnabled()
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 getShowSearch()
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 void adjustLanguages(TaggedProperties original)
original
- the default language resourcespublic java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |