Class DirectoryListing
java.lang.Object
org.apache.pekko.http.javadsl.server.directives.DirectoryListing
org.apache.pekko.http.scaladsl.server.directives.DirectoryListing
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryListing(String path, boolean isRoot, scala.collection.immutable.Seq<File> files) -
Method Summary
Modifier and TypeMethodDescriptionstatic Marshaller<DirectoryListing,RequestEntity> directoryMarshaller(boolean renderVanityFooter) scala.collection.immutable.Seq<File>files()getFiles()getPath()booleanisRoot()path()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
DirectoryListing
-
-
Method Details
-
directoryMarshaller
public static Marshaller<DirectoryListing,RequestEntity> directoryMarshaller(boolean renderVanityFooter) -
path
-
isRoot
public boolean isRoot()- Specified by:
isRootin classDirectoryListing
-
files
-
getPath
- Specified by:
getPathin classDirectoryListing
-
getFiles
- Specified by:
getFilesin classDirectoryListing
-