Package org.jenkinsci.remoting.engine
Class Jnlp4ConnectionState
- java.lang.Object
-
- org.jenkinsci.remoting.engine.JnlpConnectionState
-
- org.jenkinsci.remoting.engine.Jnlp4ConnectionState
-
public class Jnlp4ConnectionState extends JnlpConnectionState
Represents the connection state for aJnlpProtocol4Handler
connection.- Since:
- 3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
JnlpConnectionState.ListenerState
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
CLIENT_NAME_KEY, COOKIE_KEY, SECRET_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jnlp4ConnectionState(Socket socket, List<? extends JnlpConnectionStateListener> listeners)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description X509Certificate
getCertificate()
Gets the client certificate (if available).-
Methods inherited from class org.jenkinsci.remoting.engine.JnlpConnectionState
approve, fireAfterChannel, fireAfterDisconnect, fireAfterProperties, fireBeforeChannel, fireBeforeProperties, fireChannelClosed, getChannel, getChannelBuilder, getCloseCause, getProperties, getProperty, getRemoteEndpointDescription, getSocket, getStash, ignore, reject, setRemoteEndpointDescription, setStash
-
-
-
-
Constructor Detail
-
Jnlp4ConnectionState
protected Jnlp4ConnectionState(@NonNull Socket socket, List<? extends JnlpConnectionStateListener> listeners)
Constructor.- Parameters:
socket
- theSocket
.listeners
- theJnlpConnectionStateListener
instances.
-
-
Method Detail
-
getCertificate
@CheckForNull public X509Certificate getCertificate()
Gets the client certificate (if available).- Returns:
- the client certificate (if available).
-
-