Interface DoubleDispatchServer
-
- All Known Subinterfaces:
AGIssuer
,AGServer
,ATIssuer
,ATServer
,CBIssuer
,CBServer
,PAIssuer
,PAServer
,RTServer
,UIServer
- All Known Implementing Classes:
AGI2
,AGServer2
,ASImpl
,ATI2
,ATServer2
,PAI2
,PAServer2
,RFC7009Server2
,RFC7523Server
,RFC7662Server2
,RFC8623Server
,RTServer2
,TokenAwareServer
,UIServer2
public interface DoubleDispatchServer
A server that processes via double dispatch. In this case, aRequest
object points to an instance of this interface and calls its process method. (In Java, passing in arguments will not necessarily have them resolved correctly, so having an object tasked with only invoking against the runtime class is required. This could have been done with a slew of else-if statements, but that gets pretty hard to deal with if the classes are extended.)Created by Jeff Gaynor
on 6/3/13 at 10:51 AM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Response
process(Request request)
-