com.sun.xml.ws.transport.http.client
Class HttpClientTransport
java.lang.Object
com.sun.xml.ws.transport.http.client.HttpClientTransport
final class HttpClientTransport
- extends Object
TODO: this class seems to be pointless. Just merge it with HttpTransportPipe
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statusCode
int statusCode
HttpClientTransport
public HttpClientTransport(@NotNull
Packet packet,
@NotNull
Map<String,List<String>> reqHeaders)
getOutput
public OutputStream getOutput()
- Prepare the stream for HTTP request
closeOutput
public void closeOutput()
throws IOException
- Throws:
IOException
getInput
public InputStream getInput()
- Get the response from HTTP connection and prepare the input stream for response
getHeaders
public Map<String,List<String>> getHeaders()
readResponse
protected InputStream readResponse()
throws IOException
- Throws:
IOException
checkResponseCode
void checkResponseCode()
getStatusMessage
String getStatusMessage()
throws IOException
- Throws:
IOException
sendCookieAsNeeded
protected void sendCookieAsNeeded()
isSecure
public boolean isSecure()
getContentType
@Nullable
public String getContentType()