|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.osgi.spi.capability.Capability
org.jboss.osgi.http.HttpServiceCapability
public class HttpServiceCapability
Adds the HttpService capability to the OSGiRuntime
under test.
It is ignored if the HttpService is already registered.
Installed bundles: jboss-osgi-http.jar
Default properties set by this capability
| Property | Value |
|---|---|
| org.osgi.service.http.port | 8090 |
| Field Summary | |
|---|---|
static int |
DEFAULT_HTTP_SERVICE_PORT
The default HttpService port: 8090 |
| Constructor Summary | |
|---|---|
HttpServiceCapability()
|
|
| Method Summary | |
|---|---|
static String |
getHttpResponse(String host,
int port,
String reqPath,
int timeout)
|
| Methods inherited from class org.jboss.osgi.spi.capability.Capability |
|---|
addBundle, addDependency, addSystemProperty, getBundles, getDependencies, getFilter, getInstalledBundles, getServiceName, getSystemProperties, install, setFilter, start, stop, uninstall |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_HTTP_SERVICE_PORT
| Constructor Detail |
|---|
public HttpServiceCapability()
| Method Detail |
|---|
public static String getHttpResponse(String host,
int port,
String reqPath,
int timeout)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||