|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.ws.delegation.siette.SietteCallback
public class SietteCallback
Describe me!
| Constructor Summary | |
|---|---|
SietteCallback(SietteDelegation sietteGuide)
|
|
| Method Summary | |
|---|---|
Hashtable |
activityFinished(Hashtable args)
|
int |
getLength()
To populate the Content-Length header. |
String |
getMimeTypeChosen(Iterator acceptedMimeType)
Chooses the appropriate mime-type from the list provided. |
long |
getModificationDate()
To be returned to answer such queries as HTTP HEAD queries. |
String |
getUrlForExercise(String exerciseId)
|
void |
outputRepresentation(OutputStream response,
String mimeTypes)
Outputs content a descriptive state representation in the mime-type it recognizes as appropriate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SietteCallback(SietteDelegation sietteGuide)
| Method Detail |
|---|
public Hashtable activityFinished(Hashtable args)
args - should contain: user
resourceId
score
urlToComeBack (to be resolved along the
URL to call the service here)public String getUrlForExercise(String exerciseId)
exerciseId -
public long getModificationDate()
ResourceHandler
getModificationDate in interface ResourceHandler
public void outputRepresentation(OutputStream response,
String mimeTypes)
throws IOException
ResourceHandler
outputRepresentation in interface ResourceHandlerresponse - the response to output to, the content-length,
content-type and other headers should first be set.mimeTypes - the list of mime-types as received by the
Accept-Type http header.
IOExceptionpublic String getMimeTypeChosen(Iterator acceptedMimeType)
ResourceHandlerResourceHandler.outputRepresentation(java.io.OutputStream, java.lang.String).
getMimeTypeChosen in interface ResourceHandleracceptedMimeType - an iterator of mime-types (such as text/plain
possbly followed by a semicolon with a quality value)
public int getLength()
ResourceHandler
getLength in interface ResourceHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||