Module org.refcodes.web
Package org.refcodes.web
Interface SchemeAccessor.SchemeBuilder<B extends SchemeAccessor.SchemeBuilder<B>>
-
- Type Parameters:
B
- The builder to return in order to be able to apply multiple build operations.
- All Known Implementing Classes:
HttpServerContextBuilder
,UrlBuilder
- Enclosing interface:
- SchemeAccessor
public static interface SchemeAccessor.SchemeBuilder<B extends SchemeAccessor.SchemeBuilder<B>>
Provides a builder method for a URL scheme returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withProtocol(String aProtocol)
Sets the protocol for the URL scheme.B
withScheme(org.refcodes.data.Scheme aScheme)
Sets the UrlScheme for the URL scheme.
-
-
-
Method Detail
-
withScheme
B withScheme(org.refcodes.data.Scheme aScheme)
Sets the UrlScheme for the URL scheme.- Parameters:
aScheme
- The UrlScheme to be stored by the URL scheme.- Returns:
- The builder for applying multiple build operations.
-
-