public class JsonpFilter extends Filter
JsonpRepresentation
for the actual wrapper representation used
internally.Constructor and Description |
---|
JsonpFilter(Context context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
afterHandle(Request request,
Response response)
Assumes that there is a "callback" query parameter available in the URI
query string, containing the name of the JavaScript callback method.
|
beforeHandle, doHandle, getNext, handle, hasNext, setNext, setNext, start, stop
createFinder, finalize, getApplication, getAuthor, getContext, getDescription, getFinderClass, getLogger, getName, getOwner, handle, handle, handle, isStarted, isStopped, setAuthor, setContext, setDescription, setFinderClass, setName, setOwner
public JsonpFilter(Context context)
context
- The context.public void afterHandle(Request request, Response response)
afterHandle
in class Filter
Copyright © 2005-2020 Restlet.