public class SwaggerDropwizard extends Object
| Constructor and Description |
|---|
SwaggerDropwizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
onInitialize(io.dropwizard.setup.Bootstrap<?> bootstrap) |
void |
onRun(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment) |
void |
onRun(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment,
String host)
Call this method instead of
this#onRun(Configuration, Environment) if the automatic host detection
does not work correctly. |
public void onInitialize(io.dropwizard.setup.Bootstrap<?> bootstrap)
public void onRun(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment)
throws IOException
IOExceptionpublic void onRun(io.dropwizard.Configuration configuration,
io.dropwizard.setup.Environment environment,
String host)
this#onRun(Configuration, Environment) if the automatic host detection
does not work correctly.Copyright © 2014. All rights reserved.