test_class.declarator: NEW_SESSION_ID = "11"
test_class.modifier: private static final
test_class.original_string: private static final String NEW_SESSION_ID = "11";
test_class.type: String
test_class.var_name: NEW_SESSION_ID
test_class.declarator: SESSION_ID     = "10"
test_class.modifier: private static final
test_class.original_string: private static final String SESSION_ID     = "10";
test_class.type: String
test_class.var_name: SESSION_ID
test_class.declarator: servletContext
test_class.modifier: private
test_class.original_string: private ServletContext      servletContext;
test_class.type: ServletContext
test_class.var_name: servletContext
test_class.declarator: sessionManager
test_class.modifier: private
test_class.original_string: private SessionManager      sessionManager;
test_class.type: SessionManager
test_class.var_name: sessionManager
test_class.file: session-replacement/src/test/java/com/amadeus/session/servlet/TestHttpRequestWrapper.java
test_class.identifier: TestHttpRequestWrapper
test_case.body: @Test
    public void testEncodeUrl() {
      HttpServletRequest wrappedSimple = mock(HttpServletRequest.class);
      HttpRequestWrapper req = new HttpRequestWrapper(wrappedSimple, servletContext);
      req.encodeURL("someUrl");
      verify(sessionManager).encodeUrl(req, "someUrl");
    }
test_case.class_method_signature: TestHttpRequestWrapper.testEncodeUrl()
test_case.full_signature: @Test public void testEncodeUrl()
test_case.identifier: testEncodeUrl
test_case.invocations: mock encodeURL encodeUrl verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEncodeUrl()
focal_class.declarator: logger = LoggerFactory.getLogger(HttpRequestWrapper.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(HttpRequestWrapper.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: session
focal_class.original_string: RepositoryBackedHttpSession session;
focal_class.type: RepositoryBackedHttpSession
focal_class.var_name: session
focal_class.declarator: committed
focal_class.original_string: boolean committed;
focal_class.type: boolean
focal_class.var_name: committed
focal_class.declarator: response
focal_class.modifier: private
focal_class.original_string: private HttpResponseWrapper response;
focal_class.type: HttpResponseWrapper
focal_class.var_name: response
focal_class.declarator: embeddedRequest
focal_class.modifier: private final
focal_class.original_string: private final HttpRequestWrapper embeddedRequest;
focal_class.type: HttpRequestWrapper
focal_class.var_name: embeddedRequest
focal_class.declarator: manager
focal_class.modifier: private final
focal_class.original_string: private final SessionManager manager;
focal_class.type: SessionManager
focal_class.var_name: manager
focal_class.declarator: servletContext
focal_class.modifier: private final
focal_class.original_string: private final ServletContext servletContext;
focal_class.type: ServletContext
focal_class.var_name: servletContext
focal_class.declarator: propagateOnCreate
focal_class.modifier: private
focal_class.original_string: private boolean propagateOnCreate;
focal_class.type: boolean
focal_class.var_name: propagateOnCreate
focal_class.declarator: propagated
focal_class.modifier: private
focal_class.original_string: private boolean propagated;
focal_class.type: boolean
focal_class.var_name: propagated
focal_class.declarator: idRetrieved
focal_class.modifier: private
focal_class.original_string: private boolean idRetrieved;
focal_class.type: boolean
focal_class.var_name: idRetrieved
focal_class.declarator: retrievedId
focal_class.modifier: private
focal_class.original_string: private String retrievedId;
focal_class.type: String
focal_class.var_name: retrievedId
focal_class.declarator: isRetrievedIdFromCookie
focal_class.modifier: private
focal_class.original_string: private boolean isRetrievedIdFromCookie;
focal_class.type: boolean
focal_class.var_name: isRetrievedIdFromCookie
focal_class.declarator: repositoryChecked
focal_class.modifier: private
focal_class.original_string: private boolean repositoryChecked;
focal_class.type: boolean
focal_class.var_name: repositoryChecked
focal_class.file: session-replacement/src/main/java/com/amadeus/session/servlet/HttpRequestWrapper.java
focal_class.identifier: HttpRequestWrapper
focal_class.interfaces: implements RequestWithSession
focal_class.class_method_signature: HttpRequestWrapper.HttpRequestWrapper(HttpServletRequest req, ServletContext servletContext)
focal_class.full_signature: public  HttpRequestWrapper(HttpServletRequest req, ServletContext servletContext)
focal_class.identifier: HttpRequestWrapper
focal_class.modifiers: public
focal_class.parameters: (HttpServletRequest req, ServletContext servletContext)
focal_class.signature:  HttpRequestWrapper(HttpServletRequest req, ServletContext servletContext)
focal_class.class_method_signature: HttpRequestWrapper.getSession()
focal_class.full_signature: @Override public RepositoryBackedHttpSession getSession()
focal_class.identifier: getSession
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: RepositoryBackedHttpSession
focal_class.signature: RepositoryBackedHttpSession getSession()
focal_class.class_method_signature: HttpRequestWrapper.getSession(boolean create)
focal_class.full_signature: @Override public RepositoryBackedHttpSession getSession(boolean create)
focal_class.identifier: getSession
focal_class.modifiers: @Override public
focal_class.parameters: (boolean create)
focal_class.return: RepositoryBackedHttpSession
focal_class.signature: RepositoryBackedHttpSession getSession(boolean create)
focal_class.class_method_signature: HttpRequestWrapper.getManager()
focal_class.full_signature: public SessionManager getManager()
focal_class.identifier: getManager
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SessionManager
focal_class.signature: SessionManager getManager()
focal_class.class_method_signature: HttpRequestWrapper.getResponse()
focal_class.full_signature: public HttpResponseWrapper getResponse()
focal_class.identifier: getResponse
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HttpResponseWrapper
focal_class.signature: HttpResponseWrapper getResponse()
focal_class.class_method_signature: HttpRequestWrapper.setResponse(HttpResponseWrapper response)
focal_class.full_signature: public void setResponse(HttpResponseWrapper response)
focal_class.identifier: setResponse
focal_class.modifiers: public
focal_class.parameters: (HttpResponseWrapper response)
focal_class.return: void
focal_class.signature: void setResponse(HttpResponseWrapper response)
focal_class.class_method_signature: HttpRequestWrapper.propagateSession()
focal_class.full_signature:  boolean propagateSession()
focal_class.identifier: propagateSession
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean propagateSession()
focal_class.class_method_signature: HttpRequestWrapper.doPropagateAndStoreIfFirstWrapper()
focal_class.full_signature: private boolean doPropagateAndStoreIfFirstWrapper()
focal_class.identifier: doPropagateAndStoreIfFirstWrapper
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean doPropagateAndStoreIfFirstWrapper()
focal_class.class_method_signature: HttpRequestWrapper.isDirty()
focal_class.full_signature: private boolean isDirty()
focal_class.identifier: isDirty
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isDirty()
focal_class.class_method_signature: HttpRequestWrapper.retrieveSessionIfNeeded(boolean create)
focal_class.full_signature:  void retrieveSessionIfNeeded(boolean create)
focal_class.identifier: retrieveSessionIfNeeded
focal_class.parameters: (boolean create)
focal_class.return: void
focal_class.signature: void retrieveSessionIfNeeded(boolean create)
focal_class.class_method_signature: HttpRequestWrapper.getEmbededdSessionId()
focal_class.full_signature: private SessionTracking.IdAndSource getEmbededdSessionId()
focal_class.identifier: getEmbededdSessionId
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: SessionTracking.IdAndSource
focal_class.signature: SessionTracking.IdAndSource getEmbededdSessionId()
focal_class.class_method_signature: HttpRequestWrapper.commit()
focal_class.full_signature: public void commit()
focal_class.identifier: commit
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void commit()
focal_class.class_method_signature: HttpRequestWrapper.doCommit()
focal_class.full_signature:  void doCommit()
focal_class.identifier: doCommit
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void doCommit()
focal_class.class_method_signature: HttpRequestWrapper.storeSession()
focal_class.full_signature:  void storeSession()
focal_class.identifier: storeSession
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void storeSession()
focal_class.class_method_signature: HttpRequestWrapper.getRepositoryBackedSession(boolean create)
focal_class.full_signature: @Override public RepositoryBackedHttpSession getRepositoryBackedSession(boolean create)
focal_class.identifier: getRepositoryBackedSession
focal_class.modifiers: @Override public
focal_class.parameters: (boolean create)
focal_class.return: RepositoryBackedHttpSession
focal_class.signature: RepositoryBackedHttpSession getRepositoryBackedSession(boolean create)
focal_class.class_method_signature: HttpRequestWrapper.getServletContext()
focal_class.full_signature: @Override public ServletContext getServletContext()
focal_class.identifier: getServletContext
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ServletContext
focal_class.signature: ServletContext getServletContext()
focal_class.class_method_signature: HttpRequestWrapper.getEmbeddedRequest()
focal_class.full_signature: public HttpRequestWrapper getEmbeddedRequest()
focal_class.identifier: getEmbeddedRequest
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: HttpRequestWrapper
focal_class.signature: HttpRequestWrapper getEmbeddedRequest()
focal_class.class_method_signature: HttpRequestWrapper.isPropagateOnCreate()
focal_class.full_signature: public boolean isPropagateOnCreate()
focal_class.identifier: isPropagateOnCreate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPropagateOnCreate()
focal_class.class_method_signature: HttpRequestWrapper.setPropagateOnCreate(boolean propagate)
focal_class.full_signature: public void setPropagateOnCreate(boolean propagate)
focal_class.identifier: setPropagateOnCreate
focal_class.modifiers: public
focal_class.parameters: (boolean propagate)
focal_class.return: void
focal_class.signature: void setPropagateOnCreate(boolean propagate)
focal_class.class_method_signature: HttpRequestWrapper.isIdRetrieved()
focal_class.full_signature: @Override public boolean isIdRetrieved()
focal_class.identifier: isIdRetrieved
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isIdRetrieved()
focal_class.class_method_signature: HttpRequestWrapper.setRequestedSessionId(String id, boolean isFromCookie)
focal_class.full_signature: @Override public void setRequestedSessionId(String id, boolean isFromCookie)
focal_class.identifier: setRequestedSessionId
focal_class.modifiers: @Override public
focal_class.parameters: (String id, boolean isFromCookie)
focal_class.return: void
focal_class.signature: void setRequestedSessionId(String id, boolean isFromCookie)
focal_class.class_method_signature: HttpRequestWrapper.getRequestedSessionId()
focal_class.full_signature: @Override public String getRequestedSessionId()
focal_class.identifier: getRequestedSessionId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRequestedSessionId()
focal_class.class_method_signature: HttpRequestWrapper.retrieveSessionId()
focal_class.full_signature: private void retrieveSessionId()
focal_class.identifier: retrieveSessionId
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void retrieveSessionId()
focal_class.class_method_signature: HttpRequestWrapper.isRequestedSessionIdFromCookie()
focal_class.full_signature: @Override public boolean isRequestedSessionIdFromCookie()
focal_class.identifier: isRequestedSessionIdFromCookie
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRequestedSessionIdFromCookie()
focal_class.class_method_signature: HttpRequestWrapper.isRequestedSessionIdFromURL()
focal_class.full_signature: @Override public boolean isRequestedSessionIdFromURL()
focal_class.identifier: isRequestedSessionIdFromURL
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRequestedSessionIdFromURL()
focal_class.class_method_signature: HttpRequestWrapper.isRequestedSessionIdFromUrl()
focal_class.full_signature: @Override public boolean isRequestedSessionIdFromUrl()
focal_class.identifier: isRequestedSessionIdFromUrl
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRequestedSessionIdFromUrl()
focal_class.class_method_signature: HttpRequestWrapper.isRequestedSessionIdValid()
focal_class.full_signature: @Override public boolean isRequestedSessionIdValid()
focal_class.identifier: isRequestedSessionIdValid
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRequestedSessionIdValid()
focal_class.class_method_signature: HttpRequestWrapper.isRepositoryChecked()
focal_class.full_signature: @Override public boolean isRepositoryChecked()
focal_class.identifier: isRepositoryChecked
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isRepositoryChecked()
focal_class.class_method_signature: HttpRequestWrapper.repositoryChecked()
focal_class.full_signature: @Override public void repositoryChecked()
focal_class.identifier: repositoryChecked
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void repositoryChecked()
focal_class.class_method_signature: HttpRequestWrapper.encodeURL(String url)
focal_class.full_signature: public String encodeURL(String url)
focal_class.identifier: encodeURL
focal_class.modifiers: public
focal_class.parameters: (String url)
focal_class.return: String
focal_class.signature: String encodeURL(String url)
focal_class.class_method_signature: HttpRequestWrapper.changeSessionId()
focal_class.full_signature: @Override public String changeSessionId()
focal_class.identifier: changeSessionId
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String changeSessionId()
focal_class.superclass: extends HttpServletRequestWrapper
focal_method.body: public String encodeURL(String url) {
      return manager.encodeUrl(this, url);
    }
focal_method.class_method_signature: HttpRequestWrapper.encodeURL(String url)
focal_method.full_signature: public String encodeURL(String url)
focal_method.identifier: encodeURL
focal_method.invocations: encodeUrl
focal_method.modifiers: public
focal_method.parameters: (String url)
focal_method.return: String
focal_method.signature: String encodeURL(String url)