public interface DoubleDispatchServer
Request
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
Modifier and Type | Method and Description |
---|---|
Response |
process(Request request) |
Copyright © 2019. All Rights Reserved.