public class ObapClientHelper extends LocalClientHelper
Constructor and Description |
---|
ObapClientHelper(Client client)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
clear()
Clears the registry of bundles.
|
protected void |
handleBundle(Request request,
Response response,
org.osgi.framework.Bundle bundle)
/** Handles a call with a given bundle.
|
protected void |
handleLocal(Request request,
Response response,
java.lang.String decodedPath) |
static boolean |
register(org.osgi.framework.Bundle bundle)
Registers the given bundle.
|
getDefaultLanguage, getTimeToLive, handle
getConnectorService, getContext, getProtocols, start, stop, update
getAttributes, getHelped, getHelpedParameters, getLogger, getMetadataService, setHelped
public ObapClientHelper(Client client)
client
- The client to help.public static void clear()
public static boolean register(org.osgi.framework.Bundle bundle)
bundle
- The bundle to register.protected void handleBundle(Request request, Response response, org.osgi.framework.Bundle bundle)
request
- The request to handle.response
- The response to update.bundle
- The bundle to look for representations from.protected void handleLocal(Request request, Response response, java.lang.String decodedPath)
handleLocal
in class LocalClientHelper
Copyright © 2005-2020 Restlet.