Class ServletConnectionImpl

java.lang.Object
org.glassfish.grizzly.servlet.ServletConnectionImpl
All Implemented Interfaces:
jakarta.servlet.ServletConnection

public class ServletConnectionImpl extends Object implements jakarta.servlet.ServletConnection
Trivial implementation of the ServletConnection
Author:
David Matejcek
  • Constructor Details

    • ServletConnectionImpl

      public ServletConnectionImpl(String connectionId, org.glassfish.grizzly.http.Protocol protocol, boolean secure)
      Just sets all fields.
      Parameters:
      connectionId - - see getConnectionId(), can be null.
      protocol - - see getProtocol() and Protocol, can be null.
      secure - - true if the connection was encrypted.
  • Method Details

    • getConnectionId

      public String getConnectionId()
      Specified by:
      getConnectionId in interface jakarta.servlet.ServletConnection
    • getProtocol

      public String getProtocol()
      Specified by:
      getProtocol in interface jakarta.servlet.ServletConnection
    • getProtocolConnectionId

      public String getProtocolConnectionId()
      Specified by:
      getProtocolConnectionId in interface jakarta.servlet.ServletConnection
    • isSecure

      public boolean isSecure()
      Specified by:
      isSecure in interface jakarta.servlet.ServletConnection