Package org.jbpm.designer.web.server
Class ServletUtil
- java.lang.Object
-
- org.jbpm.designer.web.server.ServletUtil
-
public class ServletUtil extends Object
Utility class for web servlets.
-
-
Method Summary
-
-
-
Field Detail
-
EXT_BPMN
public static final String EXT_BPMN
- See Also:
- Constant Field Values
-
EXT_BPMN2
public static final String EXT_BPMN2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFormWidgetList
public static List<String> getFormWidgetList(IDiagramProfile profile, Repository repository, String uuid)
-
findPackageAndAssetInfo
public static String[] findPackageAndAssetInfo(String uuid, IDiagramProfile profile)
-
getInputStreamForURL
public static InputStream getInputStreamForURL(String urlLocation, String requestMethod, IDiagramProfile profile) throws Exception
- Throws:
Exception
-
applyAuth
public static void applyAuth(IDiagramProfile profile, HttpURLConnection connection)
-
assetExistsInRepository
public static boolean assetExistsInRepository(String packageName, String assetName, IDiagramProfile profile)
-
existsProcessImageInRepository
public static boolean existsProcessImageInRepository(String assetURL, IDiagramProfile profile)
-
getPackageNamesFromRepository
public static List<String> getPackageNamesFromRepository(IDiagramProfile profile)
-
getAllProcessesInPackage
public static List<String> getAllProcessesInPackage(String pkgName, IDiagramProfile profile)
-
getProcessImageContent
public static String getProcessImageContent(String packageName, String processid, IDiagramProfile profile)
-
findAssetsInRepository
public static Collection<Asset> findAssetsInRepository(String assetName, IDiagramProfile profile)
-
getProcessSourceContent
public static Asset getProcessSourceContent(String uuid, IDiagramProfile profile)
-
streamToString
public static String streamToString(InputStream is)
-
-