public interface IAS2HttpConnection
| Modifier and Type | Method and Description |
|---|---|
void |
disconnect()
Close the connection
|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
int |
getResponseCode() |
com.helger.commons.http.HttpHeaderMap |
getResponseHeaderFields() |
String |
getResponseMessage() |
URL |
getURL() |
void |
setHttpHeader(String sName,
String sValue)
Set an HTTP header
|
void setHttpHeader(@Nonnull String sName, @Nonnull String sValue)
sName - Header namesValue - Header valueURL getURL() throws OpenAS2Exception
OpenAS2Exception - in case of errorOutputStream getOutputStream() throws IOException
IOException - in case of errorInputStream getInputStream() throws OpenAS2Exception, IOException
OpenAS2Exception - in case of errorIOException - in case of errorint getResponseCode()
throws OpenAS2Exception,
IOException
OpenAS2Exception - in case of errorIOException - in case of errorString getResponseMessage() throws OpenAS2Exception, IOException
OpenAS2Exception - in case of errorIOException - in case of error@Nonnull com.helger.commons.http.HttpHeaderMap getResponseHeaderFields() throws OpenAS2Exception
OpenAS2Exception - in case of errorvoid disconnect()
Copyright © 2013–2019 Philip Helger. All rights reserved.