Top Fields Constructors Methods
org.jabref.http.server

public Class Server

extends Object
Class Inheritance
Annotations
@AllowedToUseStandardStreams:This is a CLI application. It resides in the package http.server to be close to the other http server related classes.
Imports
java.net.URI, .URISyntaxException, java.nio.file.Files, .Path, java.util.Arrays, .List, javax.net.ssl.SSLContext, javafx.collections.ObservableList, org.jabref.architecture.AllowedToUseStandardStreams, org.jabref.logic.util.OS, org.jabref.preferences.JabRefPreferences, jakarta.ws.rs.SeBootstrap, net.harawata.appdirs.AppDirsFactory, org.glassfish.grizzly.ssl.SSLContextConfigurator, org.slf4j.Logger, .LoggerFactory, org.slf4j.bridge.SLF4JBridgeHandler

Field Summary

Modifier and TypeField and Description
private static final Logger
private static SeBootstrap.Instance

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static SSLContext
public static void
main(final String[] args)

Starts an http server serving the last files opened in JabRef More files can be provided as args.

private static void
pack-priv static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGGERback to summary
private static final Logger LOGGER
serverInstanceback to summary
private static SeBootstrap.Instance serverInstance

Constructor Detail

Serverback to summary
public Server()

Method Detail

getSslContextback to summary
private static SSLContext getSslContext()
mainback to summary
public static void main(final String[] args) throws InterruptedException, URISyntaxException

Starts an http server serving the last files opened in JabRef
More files can be provided as args.

startServerback to summary
private static void startServer()
stopServerback to summary
pack-priv static void stopServer()