Class ServerConnectionHelper<T>
java.lang.Object
de.seitenbau.serviceportal.prozesspipeline.helper.ServerConnectionHelper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionServerConnectionHelper(com.fasterxml.jackson.core.type.TypeReference<T> responseType) -
Method Summary
Modifier and TypeMethodDescriptionstatic StringpostInternal(ProjectConfiguration config, String path, Map<String, String> headers, byte[] data)
-
Constructor Details
-
ServerConnectionHelper
-
-
Method Details
-
get
public T get(ProjectConfiguration config, String path, Map<String, String> headers) throws IOException- Throws:
IOException
-
post
public T post(ProjectConfiguration config, String path, Map<String, String> headers, byte[] data) throws IOException- Throws:
IOException
-
delete
public T delete(ProjectConfiguration config, String path, Map<String, String> headers, byte[] data) throws IOException- Throws:
IOException
-
postInternal
public InputStream postInternal(ProjectConfiguration config, String path, Map<String, String> headers, byte[] data) throws IOException- Throws:
IOException
-
encodeUrl
-