T_I
- the Request
type of the Client
being decoratedT_O
- the Response
type of the Client
being decoratedR_I
- the Request
type of this Client
R_O
- the Response
type of this Client
public abstract class DecoratingClient<T_I extends Request,T_O extends Response,R_I extends Request,R_O extends Response> extends java.lang.Object implements Client<R_I,R_O>
Client
.Modifier | Constructor and Description |
---|---|
protected |
DecoratingClient(Client<? super T_I,? extends T_O> delegate)
Creates a new instance that decorates the specified
Client . |
Modifier and Type | Method and Description |
---|---|
protected <T extends Client<? super T_I,? extends T_O>> |
delegate()
Returns the
Client being decorated. |
java.lang.String |
toString() |