public abstract class RestletHelper<T extends Restlet> extends Helper
| Constructor and Description |
|---|
RestletHelper(T helped)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Returns the map of attributes exchanged between the API and the Engine via
this helper.
|
Context |
getContext()
Returns the helped Restlet context.
|
T |
getHelped()
Returns the helped Restlet.
|
Series<Parameter> |
getHelpedParameters()
Returns the helped Restlet parameters.
|
Logger |
getLogger()
Returns the helped Restlet logger.
|
MetadataService |
getMetadataService()
Returns the metadata service.
|
void |
handle(Request request,
Response response)
Handles a call.
|
void |
setHelped(T helpedRestlet)
Sets the helped Restlet.
|
abstract void |
start()
Start callback.
|
abstract void |
stop()
Stop callback.
|
abstract void |
update()
|
public RestletHelper(T helped)
helped - The helped Restlet.public Map<String,Object> getAttributes()
public Context getContext()
public T getHelped()
public Series<Parameter> getHelpedParameters()
public Logger getLogger()
public MetadataService getMetadataService()
public void handle(Request request, Response response)
request - The request to handle.response - The response to update.public void setHelped(T helpedRestlet)
helpedRestlet - The helped Restlet.Copyright © 2005–2025. All rights reserved.