public class WebApplication
extends org.duracloud.appconfig.domain.Application
| Constructor and Description |
|---|
WebApplication(String host,
String port,
String context,
org.duracloud.common.web.RestHttpHelper restHelper) |
| Modifier and Type | Method and Description |
|---|---|
void |
ping(String path,
int statusCode)
This method 'pings' the arg context path of this Application and checks
that the response status code equals the provided arg status code.
|
public void ping(String path, int statusCode) throws UnexpectedResponseException
path - to ping of this ApplicationstatusCode - expectedUnexpectedResponseException - if actual response status code does
not match arg status codeCopyright © 2009–2015 DuraSpace. All rights reserved.