Package org.webpki.webutil
Class ServletUtil
java.lang.Object
org.webpki.webutil.ServletUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetContextURL(HttpServletRequest request) static StringgetCookie(HttpServletRequest request, String name) static byte[]getData(HttpServletRequest request) static KeyStoregetKeyStore(ServletContext context, String certsfile, String password) static StringgetServerRootURL(HttpServletRequest request)
-
Method Details
-
getServerRootURL
-
getContextURL
-
getData
- Throws:
IOException
-
getCookie
-
getKeyStore
public static KeyStore getKeyStore(ServletContext context, String certsfile, String password) throws IOException, GeneralSecurityException - Throws:
IOExceptionGeneralSecurityException
-