|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.configuration.Configuration
org.torweg.pulse.service.request.ServiceRequestImplConfig
public class ServiceRequestImplConfig
is the object implementation of the ServiceRequestImpl configuration.
| Nested Class Summary | |
|---|---|
static class |
ServiceRequestImplConfig.FileUploadConfig
the file upload configuration. |
static class |
ServiceRequestImplConfig.LocaleManagerConfiguration
the configuration of the locale manager. |
static class |
ServiceRequestImplConfig.SpiderConfiguration
represents a spider configuration. |
| Constructor Summary | |
|---|---|
ServiceRequestImplConfig()
default constructor. |
|
| Method Summary | |
|---|---|
long |
getFileUploadMaxSize()
|
java.io.File |
getFileUploadTempDir()
|
long |
getIntelliCacheMaxAge()
returns the maximum age for a dynamic page cached using IntelliCache to be considered for 304 Not Modified
responses upon a stateless ServiceSession. |
LocaleManager |
getLocaleManager()
|
protected ServiceRequestImplConfig.LocaleManagerConfiguration |
getLocalManagerConfiguration()
|
ServiceRequest.SessionMode |
getSessionUseCookiesOnly()
indicates whether the session shall be used with URL based session IDs and Cookies or with Cookies only. |
java.lang.String |
getSpiderName(ServiceRequest req)
returns the name of the visiting spider or an empty string, if the request is not from a spider. |
boolean |
isSpider(javax.servlet.http.HttpServletRequest httpRequest)
checks whether the given request is from a search engine spider. |
boolean |
isSpider(ServiceRequest request)
checks whether the given request is from a search engine spider. |
| Methods inherited from class org.torweg.pulse.configuration.Configuration |
|---|
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceRequestImplConfig()
| Method Detail |
|---|
public final boolean isSpider(ServiceRequest request)
The search engine filter is used for this decision.
request - the current request
true, if and only if, the user-agent contains one of the
filter strings. Otherwise false.public final boolean isSpider(javax.servlet.http.HttpServletRequest httpRequest)
The search engine filter is used for this decision.
httpRequest - the current request
true, if and only if, the user-agent contains one of the
filter strings. Otherwise false.public final java.lang.String getSpiderName(ServiceRequest req)
req - the current request
public final ServiceRequest.SessionMode getSessionUseCookiesOnly()
true, if only cookie based sessions are to be usedpublic final LocaleManager getLocaleManager()
public final long getFileUploadMaxSize()
public final java.io.File getFileUploadTempDir()
public final long getIntelliCacheMaxAge()
IntelliCache to be considered for 304 Not Modified
responses upon a stateless ServiceSession.
protected final ServiceRequestImplConfig.LocaleManagerConfiguration getLocalManagerConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||