code: public Object adapt(ISession session) {
  
          Object adaptation = session.getAdaptation();
          if (null == adaptation) {
              adaptation = new HttpSessionImpl(session);
              session.setAdaptation(adaptation);
          }
          return adaptation;
      }
docs: Method adapt
  <p>
  This method adapts a protocol agnostic session into one that conforms to a protocol such as HTTP.
  
  @see com.ibm.wsspi.session.IProtocolAdapter#adapt(com.ibm.wsspi.session.ISession, Integer)