|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ldodds.foafamatic.save.Generator | +--com.ldodds.foafamatic.http.DumpRDFHandler
Field Summary |
Fields inherited from class com.ldodds.foafamatic.save.Generator |
_thinlet, ADMIN_AGENT, ADMIN_ERRORS, ADMIN_URI |
Constructor Summary | |
DumpRDFHandler()
Constructor for DumpRDFHandler. |
Method Summary | |
boolean |
canRespond(java.lang.String path)
|
protected void |
doGeneration()
|
java.lang.String |
getMimeType()
|
byte[] |
respond(java.lang.String path,
java.util.Map parameters)
Called by the HTTP Server to ask the object to handle the HTTP request. |
Methods inherited from class com.ldodds.foafamatic.save.Generator |
generate, getFOAFString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DumpRDFHandler()
Method Detail |
protected void doGeneration()
doGeneration
in class Generator
Generator.doGeneration()
public byte[] respond(java.lang.String path, java.util.Map parameters) throws java.io.IOException
Responder
respond
in interface Responder
path
- the path-infoparameters
- the url parameters
java.io.IOException
- if there were a problem handling the request, server
will generate an HTTP 500 response containing the
exception messagecom.ldodds.foafamatic.http.RequestHandler#handle(String, Map)
public java.lang.String getMimeType()
getMimeType
in interface Responder
com.ldodds.foafamatic.http.RequestHandler#getMimeType()
public boolean canRespond(java.lang.String path)
canRespond
in interface Responder
com.ldodds.foafamatic.http.RequestHandler#canHandle(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |