public class WithCustomizersDelegatingAlignmentService extends java.lang.Object implements AlignmentService
AlignmentService that
delegates to another AlignmentService.
The request the delegate receives is not the original this class receives, but
is the product of the list of AlignmentService.RequestCustomizer this class
was created with.
Moreover, the response returned is not what the delegate returned, but is the result of the list
of AlignmentService.ResponseCustomizer this class was created withAlignmentServiceFactoryAlignmentService.Request, AlignmentService.RequestCustomizer, AlignmentService.Response, AlignmentService.ResponseCustomizer| Constructor and Description |
|---|
WithCustomizersDelegatingAlignmentService(DAAlignmentService delegate,
java.util.List<AlignmentService.RequestCustomizer> requestCustomizers,
java.util.List<AlignmentService.ResponseCustomizer> responseCustomizers) |
| Modifier and Type | Method and Description |
|---|---|
AlignmentService.Response |
align(AlignmentService.Request request) |
public WithCustomizersDelegatingAlignmentService(DAAlignmentService delegate, java.util.List<AlignmentService.RequestCustomizer> requestCustomizers, java.util.List<AlignmentService.ResponseCustomizer> responseCustomizers)
public AlignmentService.Response align(AlignmentService.Request request) throws org.commonjava.maven.ext.common.ManipulationException
align in interface AlignmentServiceorg.commonjava.maven.ext.common.ManipulationException