servlet-spec
  1. servlet-spec
  2. SERVLET_SPEC-45

Access to connector/socket container info

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      As discussed in the mailing list[1] a suggestion on how to extend the current api to expose information about the underlying connectors/sockets.
      This is just the first idea that came into my head. Please suggest better ideas if you can think of any. Since I was just targeting to expose something like the https port to the application, I did't thought of better changes.

      public interface ServletContext {
      // existing members

      public Set<ServletConnector> getConnectors();
      }

      public interface ServletConnector{
      public int getPort();
      public String getProtocol();
      public boolean isSecure();
      }

      [1] http://java.net/projects/servlet-spec/lists/users/archive/2012-08/message/7

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            c.beikov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: