public class HttpClientForInputWS extends Object
Constructor and Description |
---|
HttpClientForInputWS(URL serverURL,
long contentLength)
Create instance of simple http lcient for insert method of odcs-inputclient SOAP webservice.
|
Modifier and Type | Method and Description |
---|---|
void |
closeQuietly()
Close socket without any exceptions.
|
Reader |
getResponse()
Read http header and prepare reader for reading http content.
|
int |
getResponseCode() |
String |
getResponseContentCharSet() |
String |
getResponseContentType() |
Writer |
getWriter()
Write http reader and prepare writer of http content.
|
public HttpClientForInputWS(URL serverURL, long contentLength) throws UnknownHostException, IOException, KeyManagementException, NoSuchAlgorithmException
serverURL
- contentLength
- UnknownHostException
IOException
KeyManagementException
NoSuchAlgorithmException
public Writer getWriter() throws IOException
IOException
public Reader getResponse() throws IOException
IOException
public int getResponseCode()
public String getResponseContentType()
public String getResponseContentCharSet()
public void closeQuietly()
Copyright © 2013. All Rights Reserved.