A B C D E F G H I J M N P R S V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDownloader - Class in com.karafra.bitchutedl.downloader
-
Abstract class defining all common methods for simple file download from internet.
- AbstractDownloader() - Constructor for class com.karafra.bitchutedl.downloader.AbstractDownloader
- AbstractSimpleParser - Class in com.karafra.bitchutedl.parser
-
Interface providing all necessary methods for extractor.
- AbstractSimpleParser() - Constructor for class com.karafra.bitchutedl.parser.AbstractSimpleParser
- addDownload(Download) - Method in class com.karafra.bitchutedl.platforms.bitchute.dtos.DownloadPageProps
-
Adds download to download list.
- ApiController - Class in com.karafra.bitchutedl.platforms.bitchute.api
-
Controller handling Bitchute downloads
- ApiController() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
- ApiRuntimeException - Exception in com.karafra.bitchutedl.exceptions
-
Base class for api exceptions.
- ApiRuntimeException() - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Default empty constructor, will return response code 400.
- ApiRuntimeException(String) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Default string only constructor, will return response code 400.
- ApiRuntimeException(String, Throwable) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when message and cause is provided.
- ApiRuntimeException(String, Throwable, HttpStatus) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when message and cause is provided.
- ApiRuntimeException(String, HttpStatus) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when message and status is provided.
- ApiRuntimeException(Throwable) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when only cause is provided.
- ApiRuntimeException(Throwable, HttpStatus) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when cause and status is provided.
- ApiRuntimeException(HttpStatus) - Constructor for exception com.karafra.bitchutedl.exceptions.ApiRuntimeException
-
Constructor used when status code is provided.
- ApiRuntimeExceptionHandler - Class in com.karafra.bitchutedl.exceptions.handlers
-
Global exception handler for API, returning JSON instead of plain text.
- ApiRuntimeExceptionHandler() - Constructor for class com.karafra.bitchutedl.exceptions.handlers.ApiRuntimeExceptionHandler
- ApiRuntimeExceptionHandler.JsonErrorResponse - Class in com.karafra.bitchutedl.exceptions.handlers
-
Private class representing runtime exception, will not be used anywhere else.
- ApiService - Class in com.karafra.bitchutedl.platforms.bitchute.api
-
Controller handling Bitchute API
- ApiService() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
- ArgumentRequiredException - Exception in com.karafra.bitchutedl.exceptions
-
Exception thrown when required argument is missing, status code 400.
- ArgumentRequiredException(String) - Constructor for exception com.karafra.bitchutedl.exceptions.ArgumentRequiredException
-
Constructor used if only name of argument is known.
- ArgumentRequiredException(String, Class<?>) - Constructor for exception com.karafra.bitchutedl.exceptions.ArgumentRequiredException
-
Constructor used if name and required type is known.
B
- BitchuteDlApplication - Class in com.karafra.bitchutedl
-
Spring boot initialization class
- BitchuteDlApplication() - Constructor for class com.karafra.bitchutedl.BitchuteDlApplication
- BitchuteParser - Class in com.karafra.bitchutedl.platforms.bitchute.parser
-
Extractor for Bitchute.
- BitchuteParser() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
- BitchuteService - Class in com.karafra.bitchutedl.platforms.bitchute
-
Class handling parsing videos from Bitchute.
- BitchuteService() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.BitchuteService
- BitchuteUtils - Class in com.karafra.bitchutedl.platforms.bitchute.utils
-
Class encapsulating all utilities related to bitchute.
- buildFilename(String) - Static method in class com.karafra.bitchutedl.downloader.AbstractDownloader
-
Builds filename from extension.
C
- classLoaderTemplateResolver() - Method in class com.karafra.bitchutedl.configuration.WebConfig
-
thymeleaf template resolver.
- com.karafra.bitchutedl - package com.karafra.bitchutedl
- com.karafra.bitchutedl.configuration - package com.karafra.bitchutedl.configuration
- com.karafra.bitchutedl.configuration.customizer - package com.karafra.bitchutedl.configuration.customizer
- com.karafra.bitchutedl.downloader - package com.karafra.bitchutedl.downloader
- com.karafra.bitchutedl.exceptions - package com.karafra.bitchutedl.exceptions
- com.karafra.bitchutedl.exceptions.handlers - package com.karafra.bitchutedl.exceptions.handlers
- com.karafra.bitchutedl.exceptions.resolvers - package com.karafra.bitchutedl.exceptions.resolvers
- com.karafra.bitchutedl.parser - package com.karafra.bitchutedl.parser
- com.karafra.bitchutedl.platforms.bitchute - package com.karafra.bitchutedl.platforms.bitchute
- com.karafra.bitchutedl.platforms.bitchute.api - package com.karafra.bitchutedl.platforms.bitchute.api
- com.karafra.bitchutedl.platforms.bitchute.dtos - package com.karafra.bitchutedl.platforms.bitchute.dtos
- com.karafra.bitchutedl.platforms.bitchute.parser - package com.karafra.bitchutedl.platforms.bitchute.parser
- com.karafra.bitchutedl.platforms.bitchute.utils - package com.karafra.bitchutedl.platforms.bitchute.utils
- com.karafra.bitchutedl.processing - package com.karafra.bitchutedl.processing
- com.karafra.bitchutedl.web - package com.karafra.bitchutedl.web
- configure(SpringApplicationBuilder) - Method in class com.karafra.bitchutedl.ServletInitializer
-
Initialization of servlet.
- configure(HttpSecurity) - Method in class com.karafra.bitchutedl.configuration.SecurityConfig
- customize(TomcatServletWebServerFactory) - Method in class com.karafra.bitchutedl.configuration.customizer.ServletCustomizer
D
- download(IndexPageForm) - Method in class com.karafra.bitchutedl.web.HomeController
-
Page containing information about download.
- download(HttpServletResponse) - Method in class com.karafra.bitchutedl.web.HomeController
-
Endpoint that redirects to index page if wrong method is sent to /download endpoint.
- Download - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Props class used for transfer to download page template.
- Download() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.Download
- downloadAsResource(URL) - Method in class com.karafra.bitchutedl.downloader.AbstractDownloader
-
Downloads file from url.
- downloadAsResource(URL) - Method in class com.karafra.bitchutedl.downloader.SimpleMp4Downloader
-
Downloads file from url.
- downloadAsResponseEntity(URL) - Method in class com.karafra.bitchutedl.downloader.AbstractDownloader
-
Returns file from url as response entity.
- downloadFile(DownloadVideoRequest) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
-
Downloads video from request.
- downloadFile(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
-
Endpoint used for downloading videos from bitchute.
- DownloadPageProps - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Props class used for transfer to download page template.
- DownloadPageProps() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.DownloadPageProps
-
No args constructor.
- downloadVideo(DownloadVideoRequest) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
-
Logic for downloading video from link.
- downloadVideo(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
-
Logic for downloading videos.
- downloadVideo(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.BitchuteService
-
Downloads video from bitchute.
- downloadVideo(String) - Method in interface com.karafra.bitchutedl.processing.IProcessingService
-
Downloads video from bitchute.
- DownloadVideoRequest - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Request object to download video.
- DownloadVideoRequest() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.DownloadVideoRequest
E
- ErrorResolver - Class in com.karafra.bitchutedl.exceptions.resolvers
- ErrorResolver() - Constructor for class com.karafra.bitchutedl.exceptions.resolvers.ErrorResolver
- extract(String) - Method in class com.karafra.bitchutedl.parser.AbstractSimpleParser
-
Extracts raw link from given link
- extract(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Extracts raw to video from bitchute link.
F
- FileDownloadException - Exception in com.karafra.bitchutedl.exceptions
-
Exception thrown when something goes wrong during processing download.
- FileDownloadException(String) - Constructor for exception com.karafra.bitchutedl.exceptions.FileDownloadException
-
Constructor used when only message is provided.
G
- generateDownloadLink(String) - Static method in class com.karafra.bitchutedl.platforms.bitchute.utils.BitchuteUtils
-
Converts link to id.
- generateIdentifier() - Static method in class com.karafra.bitchutedl.downloader.AbstractDownloader
-
Generates random UUID.
- generateViewLink(String) - Static method in class com.karafra.bitchutedl.platforms.bitchute.utils.BitchuteUtils
-
Converts link to id.
- get(String) - Method in class com.karafra.bitchutedl.parser.AbstractSimpleParser
-
Connects to URL, used to avoid duplicate calls.
- getDate() - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets date video was published.
- getDate(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets date video was published.
- getElementByXpath(String) - Method in class com.karafra.bitchutedl.parser.AbstractSimpleParser
-
Gets element by xpath and and throws
exceptionif xpath does not exist in DOM. - getFormat(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets format of video from raw url.
- getPublisher() - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets publisher of video.
- getPublisher(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets publisher of video.
- getTarget() - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets target of video player.
- getTarget(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
-
Extracts link to bitchute video from link.
- getTarget(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets target of video player.
- getTargetFromId(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
-
Parses link to bitchute video from id of video.
- getThumbnailLink() - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Get thumbnail of video.
- getThumbnailLink(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Get thumbnail of video.
- getTitle() - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets title of video
- getTitle(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
Gets title of video
H
- handleRuntimeException(ApiRuntimeException, ServletWebRequest) - Method in class com.karafra.bitchutedl.exceptions.handlers.ApiRuntimeExceptionHandler
-
Method that handles runtime exceptions.
- HomeController - Class in com.karafra.bitchutedl.web
- HomeController() - Constructor for class com.karafra.bitchutedl.web.HomeController
I
- idToLink(String) - Static method in class com.karafra.bitchutedl.platforms.bitchute.utils.BitchuteUtils
-
Converts bitchute video id to link to video.
- index() - Method in class com.karafra.bitchutedl.web.HomeController
-
Page you see when you open website.
- IndexPageForm - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
DTO of form in login page.
- IndexPageForm() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.IndexPageForm
- IProcessingService - Interface in com.karafra.bitchutedl.processing
-
Interface defining methods for parsing bitchute video.
- isBitchuteLink(String) - Static method in class com.karafra.bitchutedl.platforms.bitchute.utils.BitchuteUtils
-
Checks if link provided is valid bitchute video link.
J
- JsonErrorResponse() - Constructor for class com.karafra.bitchutedl.exceptions.handlers.ApiRuntimeExceptionHandler.JsonErrorResponse
M
- main(String[]) - Static method in class com.karafra.bitchutedl.BitchuteDlApplication
-
Method used for running this application from command line.
N
- NotValidLinkException - Exception in com.karafra.bitchutedl.exceptions
-
Exception thrown provided link does not point to video.
- NotValidLinkException(String) - Constructor for exception com.karafra.bitchutedl.exceptions.NotValidLinkException
P
- ParsedLinkResponse - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Response sent when link is parsed successfully.
- ParsedLinkResponse() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.ParsedLinkResponse
- ParseLinkRequest - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Dto for parsing raw links to resources from bitchute videos.
- ParseLinkRequest() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.ParseLinkRequest
- parseVideo(ParseLinkRequest) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
-
Parses link to raw video from bitchute link.
- parseVideo(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
-
Endpoint used for parsing videos from bitchute.
- processVideo(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.BitchuteService
-
Parses video link from bitchute to return raw url to video stream.
- processVideo(String) - Method in interface com.karafra.bitchutedl.processing.IProcessingService
-
Parses video link from bitchute to return raw url to video stream.
R
- resolveErrorView(HttpServletRequest, HttpStatus, Map<String, Object>) - Method in class com.karafra.bitchutedl.exceptions.resolvers.ErrorResolver
S
- SecurityConfig - Class in com.karafra.bitchutedl.configuration
-
Configuration for web security.
- SecurityConfig() - Constructor for class com.karafra.bitchutedl.configuration.SecurityConfig
- ServletCustomizer - Class in com.karafra.bitchutedl.configuration.customizer
-
Customizer for Tomcat servlet.
- ServletCustomizer() - Constructor for class com.karafra.bitchutedl.configuration.customizer.ServletCustomizer
- ServletInitializer - Class in com.karafra.bitchutedl
- ServletInitializer() - Constructor for class com.karafra.bitchutedl.ServletInitializer
- SimpleDownload - Class in com.karafra.bitchutedl.platforms.bitchute.dtos
-
Simple wrapper containing properties of download .
- SimpleDownload() - Constructor for class com.karafra.bitchutedl.platforms.bitchute.dtos.SimpleDownload
- SimpleMp4Downloader - Class in com.karafra.bitchutedl.downloader
-
Simple downloader for files on the internet.
- SimpleMp4Downloader() - Constructor for class com.karafra.bitchutedl.downloader.SimpleMp4Downloader
- springTemplateEngine() - Method in class com.karafra.bitchutedl.configuration.WebConfig
-
Spring template engine translator.
V
- viewResolver() - Method in class com.karafra.bitchutedl.configuration.WebConfig
-
Thymeleaf view resolver.
- viewVideo(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiController
-
Endpoint used for viewing videos on bitchute on this website.
- viewVideoById(String) - Method in class com.karafra.bitchutedl.platforms.bitchute.api.ApiService
-
Logic for viewing videos on this website.
W
- WebConfig - Class in com.karafra.bitchutedl.configuration
-
Template engine configuration.
- WebConfig() - Constructor for class com.karafra.bitchutedl.configuration.WebConfig
- WrongXPathException - Exception in com.karafra.bitchutedl.exceptions
-
Exception thrown when xpath is not present in DOM.
- WrongXPathException(String) - Constructor for exception com.karafra.bitchutedl.exceptions.WrongXPathException
All Classes All Packages