|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.services.messages.ServiceMessage<S>
ecologylab.services.messages.RequestMessage<S>
public abstract class RequestMessage<S extends Scope>
Abstract base class for ecologylab.services DCF request messages.
| Nested Class Summary |
|---|
| Field Summary |
|---|
| Fields inherited from class ecologylab.xml.ElementState |
|---|
CDATA, NORMAL, UTF16, UTF16_LE, UTF8 |
| Fields inherited from interface ecologylab.xml.XMLTranslationExceptionTypes |
|---|
FILE_NOT_FOUND, IO_EXCEPTION, NULL_PURL, UNKNOWN |
| Constructor Summary | |
|---|---|
RequestMessage()
|
|
| Method Summary | |
|---|---|
ParsedURL |
errorRedirectUrl(S clientSessionScope)
A URL can be provided, indicating the response should be accomplished with HTTP redirect. |
boolean |
isDisposable()
Indicates whether or not this type of message may be ignored by the server, if the server becomes backed-up. |
ParsedURL |
okRedirectUrl(S clientSessionScope)
A URL can be provided, indicating the response should be accomplished with HTTP redirect. |
abstract ResponseMessage |
performService(S clientSessionScope)
Perform the service associated with the request, using the supplied context as needed. |
| Methods inherited from class ecologylab.services.messages.ServiceMessage |
|---|
compareTo, getSender, getTimeStamp, getUid, setSender, setUid, stampTime |
| Methods inherited from class ecologylab.generic.Debug |
|---|
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RequestMessage()
| Method Detail |
|---|
public abstract ResponseMessage performService(S clientSessionScope)
localScope - Context to perform it in/with.
public boolean isDisposable()
public ParsedURL okRedirectUrl(S clientSessionScope)
clientSessionScope - Can be used to generate HTTP GET style arguments in the redirect URL.
public ParsedURL errorRedirectUrl(S clientSessionScope)
clientSessionScope - Can be used to generate HTTP GET style arguments in the redirect URL.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||