Class FileSystemHandlerConfig.BuilderBase.FileSystemHandlerConfigImpl
java.lang.Object
io.helidon.webserver.staticcontent.BaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
io.helidon.webserver.staticcontent.FileSystemHandlerConfig.BuilderBase.FileSystemHandlerConfigImpl
- All Implemented Interfaces:
Prototype.Api
,BaseHandlerConfig
,FileSystemHandlerConfig
- Enclosing class:
FileSystemHandlerConfig.BuilderBase<BUILDER extends FileSystemHandlerConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends FileSystemHandlerConfig>
protected static class FileSystemHandlerConfig.BuilderBase.FileSystemHandlerConfigImpl
extends BaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
implements FileSystemHandlerConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.staticcontent.BaseHandlerConfig
BaseHandlerConfig.Builder, BaseHandlerConfig.BuilderBase<BUILDER extends BaseHandlerConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends BaseHandlerConfig> Nested classes/interfaces inherited from interface io.helidon.webserver.staticcontent.FileSystemHandlerConfig
FileSystemHandlerConfig.Builder, FileSystemHandlerConfig.BuilderBase<BUILDER extends FileSystemHandlerConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends FileSystemHandlerConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
Methods inherited from class io.helidon.webserver.staticcontent.BaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
cachedFiles, contentTypes, context, enabled, memoryCache, pathMapper, recordCacheCapacity, sockets, welcome
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.helidon.webserver.staticcontent.BaseHandlerConfig
cachedFiles, contentTypes, context, enabled, memoryCache, pathMapper, recordCacheCapacity, sockets, welcome
-
Constructor Details
-
FileSystemHandlerConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
location
Description copied from interface:FileSystemHandlerConfig
The directory (or a single file) that contains the root of the static content.- Specified by:
location
in interfaceFileSystemHandlerConfig
- Returns:
- location to serve the static content, such as
"/home/user/static-content"
.
-
toString
- Overrides:
toString
in classBaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
-
equals
- Overrides:
equals
in classBaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classBaseHandlerConfig.BuilderBase.BaseHandlerConfigImpl
-