public abstract class AbstractRequest extends Object implements Request
Modifier and Type | Field and Description |
---|---|
private RequestControl[] |
controls
Request controls.
|
private IntermediateResponseHandler[] |
intermediateResponseHandlers
Intermediate response handlers.
|
private ReferralHandler |
referralHandler
Referral handler.
|
Constructor and Description |
---|
AbstractRequest() |
Modifier and Type | Method and Description |
---|---|
RequestControl[] |
getControls()
Returns the controls for this message.
|
IntermediateResponseHandler[] |
getIntermediateResponseHandlers()
Returns the intermediate response handlers.
|
ReferralHandler |
getReferralHandler()
Returns the referral handler.
|
void |
setControls(RequestControl... c)
Sets the controls for this request.
|
void |
setIntermediateResponseHandlers(IntermediateResponseHandler... handlers)
Sets the intermediate response handlers.
|
void |
setReferralHandler(ReferralHandler handler)
Sets the referral handler.
|
private RequestControl[] controls
private ReferralHandler referralHandler
private IntermediateResponseHandler[] intermediateResponseHandlers
public RequestControl[] getControls()
Message
getControls
in interface Message<RequestControl>
public void setControls(RequestControl... c)
c
- controls to setpublic ReferralHandler getReferralHandler()
Request
getReferralHandler
in interface Request
public void setReferralHandler(ReferralHandler handler)
handler
- referral handlerpublic IntermediateResponseHandler[] getIntermediateResponseHandlers()
Request
getIntermediateResponseHandlers
in interface Request
public void setIntermediateResponseHandlers(IntermediateResponseHandler... handlers)
handlers
- intermediate response handlersCopyright © 2003-2019 Virginia Tech. All Rights Reserved.