public abstract class AbstractWebApp
extends javax.ws.rs.core.Application
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractWebApp.RuntimeExceptionMapper |
static class |
AbstractWebApp.ServiceExceptionMapper |
| Modifier and Type | Field and Description |
|---|---|
protected AbstractClient |
_client |
protected com.fasterxml.jackson.databind.ObjectMapper |
_mapper |
| Constructor and Description |
|---|
AbstractWebApp(int port) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractClient |
doCreateClient()
Invoked to get the service client instance
|
String |
ping() |
protected final com.fasterxml.jackson.databind.ObjectMapper _mapper
protected final AbstractClient _client
protected abstract AbstractClient doCreateClient()
public String ping() throws IOException
IOExceptionCopyright © 2016 Neeve Research, LLC. All Rights Reserved.