Package org.glassfish.grizzly.servlet
Class ServletConnectionImpl
java.lang.Object
org.glassfish.grizzly.servlet.ServletConnectionImpl
- All Implemented Interfaces:
jakarta.servlet.ServletConnection
Trivial implementation of the
ServletConnection- Author:
- David Matejcek
-
Constructor Summary
ConstructorsConstructorDescriptionServletConnectionImpl(String connectionId, org.glassfish.grizzly.http.Protocol protocol, boolean secure) Just sets all fields. -
Method Summary
-
Constructor Details
-
ServletConnectionImpl
public ServletConnectionImpl(String connectionId, org.glassfish.grizzly.http.Protocol protocol, boolean secure) Just sets all fields.- Parameters:
connectionId- - seegetConnectionId(), can be null.protocol- - seegetProtocol()andProtocol, can be null.secure- - true if the connection was encrypted.
-
-
Method Details
-
getConnectionId
- Specified by:
getConnectionIdin interfacejakarta.servlet.ServletConnection
-
getProtocol
- Specified by:
getProtocolin interfacejakarta.servlet.ServletConnection
-
getProtocolConnectionId
- Specified by:
getProtocolConnectionIdin interfacejakarta.servlet.ServletConnection
-
isSecure
public boolean isSecure()- Specified by:
isSecurein interfacejakarta.servlet.ServletConnection
-