|
||||||||||
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(com.jscape.util.TaggedProperties[] languages,
com.jscape.util.serialization.xml.ByteArrayShell logo,
AutoLogoutTimeout autoLogoutTimeout,
long connectionTimeout,
java.lang.String redirectionUrl,
boolean showButtonsShortcuts,
boolean showTransferType,
boolean showLoginInfo,
boolean showAccountLink,
boolean showSearch,
boolean documentViewerEnabled,
boolean useFlashUploadComponent,
Form[] uploadForms)
Creates new instance. |
Method Summary | |
---|---|
void |
correctLanguages(com.jscape.util.TaggedProperties original)
Resets language resources to provided defaults. |
AutoLogoutTimeout |
getAutoLogoutTimeout()
Gets automatic inactivity logout descriptor. |
long |
getConnectionTimeout()
Gets HTTP connection timeout in ms. |
boolean |
getDocumentViewerEnabled()
Gets whether Web Document Viewer enabled. |
com.jscape.util.TaggedProperties[] |
getLanguages()
Gets language resources. |
com.jscape.util.serialization.xml.ByteArrayShell |
getLogo()
Gets logo. |
byte[] |
getLogoBytes()
Gets raw logo image data. |
java.lang.String |
getRedirectionUrl()
Returns logout redirection URL. |
boolean |
getShowAccountLink()
Gets whether accoun 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()
Sets whether Flash Upload Component will used. |
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 |
setLanguages(com.jscape.util.TaggedProperties[] value)
Sets language resources. |
void |
setLogo(com.jscape.util.serialization.xml.ByteArrayShell value)
Sets logo. |
void |
setRedirectionUrl(java.lang.String value)
Sets logout redirection URL. |
void |
setShowAccountLink(boolean value)
Sets whether accoun 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 wheter search form is shown in web interface. |
void |
setShowTransferType(boolean value)
Sets whether transfer type is shown in web interface. |
void |
setUploadForms(Form[] value)
Sets upload forms. |
void |
setUseFlashUploadComponent(boolean value)
Gets wheter Flash Upload Component is used |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_TIMEOUT
public static final java.lang.String LOGO_PIC
Constructor Detail |
---|
public HttpConfiguration(com.jscape.util.TaggedProperties[] languages, com.jscape.util.serialization.xml.ByteArrayShell logo, AutoLogoutTimeout autoLogoutTimeout, long connectionTimeout, java.lang.String redirectionUrl, boolean showButtonsShortcuts, boolean showTransferType, boolean showLoginInfo, boolean showAccountLink, boolean showSearch, boolean documentViewerEnabled, boolean useFlashUploadComponent, Form[] uploadForms)
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 flaguseFlashUploadComponent
- flash upload component flaguploadForms
- upload formspublic HttpConfiguration(HttpConfiguration that)
that
- existing instancepublic HttpConfiguration()
Method Detail |
---|
public com.jscape.util.TaggedProperties[] getLanguages()
public void setLanguages(com.jscape.util.TaggedProperties[] value)
value
- language-related resourcespublic com.jscape.util.serialization.xml.ByteArrayShell getLogo()
public byte[] getLogoBytes()
public void setLogo(com.jscape.util.serialization.xml.ByteArrayShell value)
value
- sets logo datapublic 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()
true
if used, false
otherwisepublic void setUseFlashUploadComponent(boolean value)
value
- true
if used, false
otherwisepublic Form[] getUploadForms()
public void setUploadForms(Form[] value)
value
- upload formspublic boolean getShowSearch()
true
is shown; false
otherwise.public void setShowSearch(boolean value)
value
- true
if is shown; false
otherwisepublic void correctLanguages(com.jscape.util.TaggedProperties original)
original
- the default language resources
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |