Package org.refcodes.net
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 Subinterfaces:
HttpServerContext.HttpServerContextBuilder
,Url.UrlBuilder
- All Known Implementing Classes:
HttpServerContextBuilderImpl
,UrlBuilderImpl
- 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(java.lang.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.
-
withProtocol
B withProtocol(java.lang.String aProtocol)
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.
-
-