|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eclipsesource.restfuse.CallbackResource
public abstract class CallbackResource
A CallbackResource
is used by the
annotation. This
class contains methods that will be called when there is an incoming request form a callback.
Subclasses need to override such methods to handle the request.Callback
Instead of sub classing the Callback
directly you may want to sub class the
which provides a default implementation to return
default responses.DefaultCallbackResource
Callback
,
DefaultCallbackResource
Constructor Summary | |
---|---|
CallbackResource()
|
Method Summary | |
---|---|
abstract Response |
delete(Request request)
Will be called during an http delete request. |
abstract Response |
get(Request request)
Will be called during an http get request. |
abstract Response |
head(Request request)
Will be called during an http head request. |
abstract Response |
options(Request request)
Will be called during an http options request. |
abstract Response |
post(Request request)
Will be called during an http post request. |
abstract Response |
put(Request request)
Will be called during an http put request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CallbackResource()
Method Detail |
---|
public abstract Response delete(Request request)
Will be called during an http delete request.
public abstract Response get(Request request)
Will be called during an http get request.
public abstract Response head(Request request)
Will be called during an http head request.
public abstract Response options(Request request)
Will be called during an http options request.
public abstract Response post(Request request)
Will be called during an http post request.
public abstract Response put(Request request)
Will be called during an http put request.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |