Package com.predic8.membrane.core.util
Class Util
java.lang.Object
com.predic8.membrane.core.util.Util
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutorServicestatic voidshutdownInput(Socket socket) static voidshutdownOutput(Socket socket) splitStringByComma(String string)
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
shutdownOutput
- Throws:
IOException
-
shutdownInput
- Throws:
IOException
-
parseSimpleJSONResponse
public static HashMap<String,String> parseSimpleJSONResponse(Response g) throws IOException, jakarta.mail.internet.ParseException - Throws:
IOExceptionjakarta.mail.internet.ParseException
-
createNewThreadPool
-
splitStringByComma
- Parameters:
string- String that might be separated by comma e.g. "a,b,c"- Returns:
- mutable list
-