public interface HessianConnection
Modifier and Type | Method and Description |
---|---|
void |
addHeader(String key,
String value)
Adds HTTP headers.
|
void |
close()
Close/free the connection.
|
void |
destroy()
Shut the connection down.
|
String |
getContentEncoding()
Returns the content encoding
|
InputStream |
getInputStream()
Returns the InputStream to the result
|
OutputStream |
getOutputStream()
Returns the output stream for the request.
|
int |
getStatusCode()
Returns the status code.
|
String |
getStatusMessage()
Returns the status string.
|
void |
sendRequest()
Sends the query
|
OutputStream getOutputStream() throws IOException
IOException
void sendRequest() throws IOException
IOException
int getStatusCode()
String getStatusMessage()
String getContentEncoding()
InputStream getInputStream() throws IOException
IOException
void close() throws IOException
IOException
void destroy() throws IOException
IOException
Copyright © 2023. All rights reserved.