- All Superinterfaces:
VirtualHostAccessor
,VirtualHostAccessor.VirtualHostMutator
- Enclosing interface:
- VirtualHostAccessor
public static interface VirtualHostAccessor.VirtualHostProperty
extends VirtualHostAccessor, VirtualHostAccessor.VirtualHostMutator
Provides a virtual host property.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.web.VirtualHostAccessor
VirtualHostAccessor.VirtualHostBuilder<B extends VirtualHostAccessor.VirtualHostBuilder<?>>, VirtualHostAccessor.VirtualHostMutator, VirtualHostAccessor.VirtualHostProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
letVirtualHost
(String aVirtualHost) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofVirtualHostAccessor.VirtualHostMutator.setVirtualHost(String)
and returns the very same value (getter).Methods inherited from interface org.refcodes.web.VirtualHostAccessor
getVirtualHost
Methods inherited from interface org.refcodes.web.VirtualHostAccessor.VirtualHostMutator
setVirtualHost
-
Method Details
-
letVirtualHost
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenString
(setter) as ofVirtualHostAccessor.VirtualHostMutator.setVirtualHost(String)
and returns the very same value (getter).- Parameters:
aVirtualHost
- TheString
to set (viaVirtualHostAccessor.VirtualHostMutator.setVirtualHost(String)
).- Returns:
- Returns the value passed for it to be used in conclusive processing steps.
-