|
||||||||||
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,
boolean showButtonsShortcuts,
java.lang.String redirectionUrl,
boolean showLoginInfo,
boolean showAccountLink,
long connectionTimeout,
boolean showTransferType)
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. |
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 |
getShowTransferType()
Gets whether transfer type is shown in web interface. |
void |
setAutoLogoutTimeout(AutoLogoutTimeout value)
Sets automatic inactivity logout descriptor. |
void |
setConnectionTimeout(long value)
Sets HTTP connection timeout in ms. |
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 |
setShowTransferType(boolean value)
Sets whether transfer type is shown in web interface. |
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, boolean showButtonsShortcuts, java.lang.String redirectionUrl, boolean showLoginInfo, boolean showAccountLink, long connectionTimeout, boolean showTransferType)
languages
- language-related stringslogo
- logo dataautoLogoutTimeout
- auto logout timeout in msshowButtonsShortcuts
- show buttons shortcuts flagredirectionUrl
- redirection URLshowLoginInfo
- show login info flagshowAccountLink
- show account link flagconnectionTimeout
- connection timeout in msshowTransferType
- show transfer type flagpublic 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 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 |