org.jbpm.formbuilder.server
Class GuvnorHelper
java.lang.Object
org.jbpm.formbuilder.server.GuvnorHelper
public class GuvnorHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
public static final String ENCODING
- See Also:
- Constant Field Values
GuvnorHelper
public GuvnorHelper(String baseUrl,
String user,
String password)
setClient
public void setClient(org.apache.commons.httpclient.HttpClient client)
getHttpClient
public org.apache.commons.httpclient.HttpClient getHttpClient()
createGetMethod
public org.apache.commons.httpclient.methods.GetMethod createGetMethod(String url)
createDeleteMethod
public org.apache.commons.httpclient.methods.DeleteMethod createDeleteMethod(String url)
createPutMethod
public org.apache.commons.httpclient.methods.PutMethod createPutMethod(String url)
createPostMethod
public org.apache.commons.httpclient.methods.PostMethod createPostMethod(String url)
getPackageNameByContentUUID
public String getPackageNameByContentUUID(String uuid)
throws javax.xml.bind.JAXBException,
IOException
- Throws:
javax.xml.bind.JAXBException
IOException
jaxbTransformation
public <T> T jaxbTransformation(Class<T> retType,
InputStream input,
Class<?>... boundTypes)
throws javax.xml.bind.JAXBException,
IOException
- Throws:
javax.xml.bind.JAXBException
IOException
jaxbSerializing
public String jaxbSerializing(Object obj,
Class<?>... boundTypes)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
setAuth
public void setAuth(org.apache.commons.httpclient.HttpClient client,
org.apache.commons.httpclient.HttpMethod method)
getApiSearchUrl
public String getApiSearchUrl(String pkgName)
throws UnsupportedEncodingException
- Throws:
UnsupportedEncodingException
getRestBaseUrl
public String getRestBaseUrl()
getUser
public String getUser()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.