|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.ws.delegation.DelegationGuide.GuideService
protected class DelegationGuide.GuideService
| Constructor Summary | |
|---|---|
protected |
DelegationGuide.GuideService()
|
| 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. |
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 |
|---|
protected DelegationGuide.GuideService()
| 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 long getModificationDate()
ResourceHandler
getModificationDate in interface ResourceHandlerpublic int getLength()
ResourceHandler
getLength 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||