public interface RestRequestResponseHandlerFactory
RestRequestHandler
and RestResponseHandler
.
Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.Modifier and Type | Method and Description |
---|---|
RestRequestHandler |
getRestRequestHandler()
Returns an instance of the
RestRequestHandler that the factory generates. |
RestResponseHandler |
getRestResponseHandler()
Returns an instance of the
RestResponseHandler that the factory generates. |
RestRequestHandler getRestRequestHandler() throws java.lang.InstantiationException
RestRequestHandler
that the factory generates.RestRequestHandler
generated by this factory.java.lang.InstantiationException
- if the RestRequestHandler
instance cannot be created.RestResponseHandler getRestResponseHandler() throws java.lang.InstantiationException
RestResponseHandler
that the factory generates.RestResponseHandler
generated by this factory.java.lang.InstantiationException
- if the RestResponseHandler
instance cannot be created.