IT. Expert System.

Android Reference

SSLSessionContext


javax.net.ssl

Interface SSLSessionContext

    • Method Summary

      Methods
      Modifier and Type Method and Description
      Enumeration<byte[]> getIds()
      Returns an iterable of all session identifiers in this session context.
      SSLSession getSession(byte[] sessionId)
      Returns the session for the specified session identifier.
      int getSessionCacheSize()
      Returns the size of the session cache for this session context.
      int getSessionTimeout()
      Returns the timeout for sessions in this session context.
      void setSessionCacheSize(int size)
      Sets the size of the session cache for this session context.
      void setSessionTimeout(int seconds)
      Sets the timeout for sessions in this context.
    • Method Detail

      • getIds

        Enumeration<byte[]> getIds()
        Returns an iterable of all session identifiers in this session context.
        Returns:
        an iterable of all session identifiers in this session context.
      • getSession

        SSLSession getSession(byte[] sessionId)
        Returns the session for the specified session identifier.
        Parameters:
        sessionId - the session identifier of the session to look up.
        Returns:
        the session for the specified session identifier, or null if the specified session identifier does not refer to a session in this context.
      • getSessionCacheSize

        int getSessionCacheSize()
        Returns the size of the session cache for this session context.
        Returns:
        the size of the session cache for this session context, or zero if unlimited.
      • getSessionTimeout

        int getSessionTimeout()
        Returns the timeout for sessions in this session context. Sessions exceeding the timeout are invalidated.
        Returns:
        the timeout in seconds, or zero if unlimited.
      • setSessionCacheSize

        void setSessionCacheSize(int size)
                                 throws IllegalArgumentException
        Sets the size of the session cache for this session context.
        Parameters:
        size - the size of the session cache, or zero for unlimited cache size.
        Throws:
        IllegalArgumentException - if size is negative.
      • setSessionTimeout

        void setSessionTimeout(int seconds)
                               throws IllegalArgumentException
        Sets the timeout for sessions in this context. Sessions exceeding the timeout are invalidated.
        Parameters:
        seconds - the timeout in seconds, or zero if unlimited.
        Throws:
        IllegalArgumentException - if seconds is negative.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1149 / 248361755. Delta: 0.01956 с