public class Service
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Service.Request |
static interface |
Service.Response |
Constructor and Description |
---|
Service(Service.Request request,
Service.Response response) |
Modifier and Type | Method and Description |
---|---|
<T extends Service.Request> |
getRequest() |
<T extends Service.Response> |
getResponse() |
public Service(Service.Request request, Service.Response response)
public <T extends Service.Request> T getRequest()
public <T extends Service.Response> T getResponse()