@Deprecated @Path(value="/api") @Produces(value="application/json") public class ApiResource extends io.dropwizard.Application<ApiConfiguration> implements Serializable
Constructor and Description |
---|
ApiResource(String coordPath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
coords()
Deprecated.
|
void |
initialize(io.dropwizard.setup.Bootstrap<ApiConfiguration> bootstrap)
Deprecated.
Initializes the application bootstrap.
|
void |
run(ApiConfiguration configuration,
io.dropwizard.setup.Environment environment)
Deprecated.
|
@GET @Path(value="/coords") @Produces(value="application/json") 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>
Exception
Copyright © 2016. All Rights Reserved.