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
Modifier and TypeMethodDescriptionwithProtocol
(String aProtocol) Sets the protocol for the URL scheme.withScheme
(org.refcodes.data.Scheme aScheme) Sets the UrlScheme for the URL scheme.
-
Method Details
-
withScheme
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.
-
withProtocol
Sets the protocol for the URL scheme.- Parameters:
aProtocol
- The protocol to be stored by the URL scheme.- Returns:
- The builder for applying multiple build operations.
-