public class ApiResource extends io.dropwizard.Application<ApiConfiguration> implements Serializable
| Constructor and Description |
|---|
ApiResource(String coordPath) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
coords() |
void |
initialize(io.dropwizard.setup.Bootstrap<ApiConfiguration> bootstrap)
Initializes the application bootstrap.
|
void |
run(ApiConfiguration configuration,
io.dropwizard.setup.Environment environment) |
public javax.ws.rs.core.Response coords()
public void initialize(io.dropwizard.setup.Bootstrap<ApiConfiguration> bootstrap)
initialize in class io.dropwizard.Application<ApiConfiguration>bootstrap - the application bootstrappublic void run(ApiConfiguration configuration, io.dropwizard.setup.Environment environment) throws Exception
run in class io.dropwizard.Application<ApiConfiguration>ExceptionCopyright © 2014. All rights reserved.