Serialized Form


Package com.isomorphic.base

Class com.isomorphic.base.Init implements Serializable


Package com.isomorphic.datasource

Class com.isomorphic.datasource.DSField implements Serializable


Package com.isomorphic.js

Class com.isomorphic.js.UnconvertableException implements Serializable


Package com.isomorphic.messaging

Class com.isomorphic.messaging.MessagingServlet implements Serializable


Package com.isomorphic.rpc

Class com.isomorphic.rpc.ClientMustResubmitException implements Serializable


Package com.isomorphic.servlet

Class com.isomorphic.servlet.FeatureExplorerRPC implements Serializable

Serialized Fields

examplesDir

java.lang.String examplesDir

wwwProduction

boolean wwwProduction

devenv

boolean devenv

bounceCSSPrefix

java.lang.String bounceCSSPrefix

Class com.isomorphic.servlet.FileAssembly implements Serializable

Serialized Fields

configFile

java.lang.String configFile
Sets the configuration file for this servlet instance. This is a webRoot-relative path to the configuration file. The default is "/isomorphicConfig/fileAssembly.xml".

configFileModified

boolean configFileModified

Class com.isomorphic.servlet.FileDownload implements Serializable

Serialized Fields

expires

java.util.Map expires
This is a comma separated expiration mapping of the form: mimeType:seconds to expiry. This allows you to specify how long the browser is allowed to cache the file maching a given mime type from the time the file is originally served.

For example, to set javascript files to expire in 1 hour and gif images to expire in 1 day: text/javascript:3600,image/gif:86400

The comparison is an exact match of the specified mimeType against what the container returns for the intercepted URL. So, for example, if you specified text/javascript:3600 here, but the container was configured to return application/x-javascript for *.js (a common mimeType for javascript), then your expiry setting for *.js files would not apply.


charsets

java.util.Map charsets
This is a comma separated expiration mapping of the form: mimeType:charset This allows you to specify a character encoding for a given mimeType.

For example, to set javascript files to be served with the UTF-8 encoding, set this value to: text/javascript:UTF-8

For mimeTypes that do not have a charset specified, no charset setting is applied, so the container default is used.

The comparison is an exact match of the specified mimeType against what the container returns for the intercepted URL. So, for example, if you specified text/javascript:UTF-8 here, but the container was configured to return application/x-javascript for *.js (a common mimeType for javascript), then your charset setting for *.js files would not apply.


stripPathComponents

int stripPathComponents
Instructs this servlet to remove the specified number of paths components from the URI before looking for the file on disk. This is useful if you're injecting a version string into your URI that isn't actually part of the path and you can't stript this off more efficiently at a different layer (e.g. Apache mod_rewrite).

Class com.isomorphic.servlet.HttpProxyServlet implements Serializable

Serialized Fields

proxyHost

java.lang.String proxyHost
If outbound HTTP requests from this proxy must go through a proxy, you can set the hostname of the proxy server via this parameter.

If the JVM executing this servlet can make direct HTTP connections to the relevant hosts, leave this parameter unset.


rulesFile

java.lang.String rulesFile
Specifies path to a file that contains a set of regexp rules that constrain what URLs this servlet will proxy to. The format of the rulesFile is a list of regular expressions in a JSON array. For example:
 var rules = [
    "match:#http://www.slashdot.org/#",
 ];
 
Note: The rulesFile path is treated as relative to webRoot.

webXmlRules

java.lang.String webXmlRules

useURLCache

boolean useURLCache
This parameter controls whether the URLCache is enabled or not.

If this servlet users regular expressions via the rulesFile, the URL Cache will cache the result of the application of relevant rules for any given URL. The URL Cache drastically speeds up subsequent rule applications at the cost of memory.

Note: the cache is automatically disabled if there are no rules to apply. Performance: The URL cache is an LRU Map. If you're using this servlet on a large-scale site with a lot of unique URLs, you may want to tune its size via the urlCacheSize parameter to balance between memory usage and performance.

See Also:
HttpProxyServlet.urlCacheSize

urlCacheSize

int urlCacheSize
Specifies the size of the URLCache. Note that each servlet definition will have its own URLCache.

urlCache

java.util.Map urlCache

rules

java.util.List rules
You can specify the set of URLs proxyable by this servlet inline in web.xml. To do so, place the rules one to a line (newline separated) under the rules init-param of this servlet. For example:
 <servlet>
   <servlet-name>HttpProxyServlet</filter-name>
   <filter-class>com.isomorphic.servlet.HttpProxyServlet</filter-class>
   <init-param>
       <param-name>rules</param-name>
       <param-value>
           match:|http://www.slashdot.org/|
       </param-value>
   </init-param>
 </filter>
 
See Also:
HttpProxyServlet.rulesFile

acceptInvalidAndExpiredSSLCertificates

boolean acceptInvalidAndExpiredSSLCertificates
If set to true, the proxy will accept invalid and expired SSL certificates from the proxied URL. If false (the default), an error is returned if the proxied URL is SSL-based and the certification is invalid or expired.

includeSOAPAttachments

boolean includeSOAPAttachments

SOAPAttachmentDataSource

java.lang.String SOAPAttachmentDataSource

proxyPort

int proxyPort
If outbound HTTP requests from this proxy must go through a proxy, you can set the port of the proxy server via this parameter.

If the JVM executing this servlet can make direct HTTP connections to the relevant hosts, leave this parameter unset.

Class com.isomorphic.servlet.IDACall implements Serializable

Class com.isomorphic.servlet.ISCFileItem implements Serializable

Serialized Fields

fieldName

java.lang.String fieldName

contentType

java.lang.String contentType

isFormField

boolean isFormField

fileName

java.lang.String fileName

os

java.io.OutputStream os

data

java.io.ByteArrayOutputStream data

byteCounter

com.isomorphic.io.IByteCounter byteCounter

expectedSize

long expectedSize

shortFileName

java.lang.String shortFileName

Class com.isomorphic.servlet.PreCache implements Serializable


Package com.isomorphic.sql

Class com.isomorphic.sql.HSQLShutdown implements Serializable


Package com.isomorphic.util

Class com.isomorphic.util.ErrorMessage implements Serializable

Class com.isomorphic.util.ErrorReport implements Serializable

Serialization Methods

readExternal

public void readExternal(java.io.ObjectInput)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput)
                   throws java.io.IOException