Package jodd.http.net
Class SocketHttpSecureConnection
- java.lang.Object
-
- jodd.http.net.SocketHttpConnection
-
- jodd.http.net.SocketHttpSecureConnection
-
- All Implemented Interfaces:
HttpConnection
public class SocketHttpSecureConnection extends SocketHttpConnection
-
-
Field Summary
Fields Modifier and Type Field Description private javax.net.ssl.SSLSocketsslSocket-
Fields inherited from class jodd.http.net.SocketHttpConnection
socket
-
-
Constructor Summary
Constructors Constructor Description SocketHttpSecureConnection(javax.net.ssl.SSLSocket socket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()Initializes http connection after socket is created.-
Methods inherited from class jodd.http.net.SocketHttpConnection
close, getInputStream, getOutputStream, getSocket, setTimeout
-
-
-
-
Method Detail
-
init
public void init() throws java.io.IOExceptionDescription copied from interface:HttpConnectionInitializes http connection after socket is created. Applies configurations, likeHttpConnection.setTimeout(int).- Specified by:
initin interfaceHttpConnection- Overrides:
initin classSocketHttpConnection- Throws:
java.io.IOException
-
-