T
- type of provider specific controlpublic class ControlProcessor<T> extends Object
Modifier and Type | Field and Description |
---|---|
private ControlHandler<T> |
controlHandler
Control handler.
|
protected Logger |
logger
Logger for this class.
|
Constructor and Description |
---|
ControlProcessor(ControlHandler<T> handler)
Creates a new control processor.
|
Modifier and Type | Method and Description |
---|---|
protected T |
processRequest(RequestControl ctl)
Converts the supplied control to a provider control.
|
T[] |
processRequestControls(RequestControl[] requestControls)
Converts the supplied request controls to a provider specific request controls.
|
protected ResponseControl |
processResponse(T providerCtl)
Converts the supplied provider control to a control.
|
ResponseControl[] |
processResponseControls(T[] responseControls)
Converts the supplied provider controls to a response controls.
|
protected final Logger logger
private final ControlHandler<T> controlHandler
public ControlProcessor(ControlHandler<T> handler)
handler
- to handle controls withpublic T[] processRequestControls(RequestControl[] requestControls)
requestControls
- to convertprotected T processRequest(RequestControl ctl)
ctl
- to convertpublic ResponseControl[] processResponseControls(T[] responseControls)
responseControls
- to convertprotected ResponseControl processResponse(T providerCtl)
providerCtl
- to convertCopyright © 2003-2019 Virginia Tech. All Rights Reserved.