Package de.hybris.basecommerce
Class SimpleSmtpServerUtils
- java.lang.Object
-
- de.hybris.basecommerce.SimpleSmtpServerUtils
-
public class SimpleSmtpServerUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSimpleSmtpServerUtils.SimpleSmtpServer
-
Constructor Summary
Constructors Constructor Description SimpleSmtpServerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetNextOpenPort(int startingPort)static intgetNextOpenPort(int startingPort, int range)static SimpleSmtpServerUtils.SimpleSmtpServerstartServer()static SimpleSmtpServerUtils.SimpleSmtpServerstartServer(int port)static SimpleSmtpServerUtils.SimpleSmtpServerstartServer(int port, boolean findOpenPort)
-
-
-
Method Detail
-
startServer
public static SimpleSmtpServerUtils.SimpleSmtpServer startServer()
-
startServer
public static SimpleSmtpServerUtils.SimpleSmtpServer startServer(int port)
-
startServer
public static SimpleSmtpServerUtils.SimpleSmtpServer startServer(int port, boolean findOpenPort)
-
getNextOpenPort
public static int getNextOpenPort(int startingPort)
-
getNextOpenPort
public static int getNextOpenPort(int startingPort, int range)
-
-