Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 9,621 for Session (0.09 sec)

  1. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                return null;
            });
        }
    
        private OptionalThing<HttpSession> getSession() {
            final HttpSession session = request.getSession(false);
            if (session != null) {
                return OptionalEntity.of(session);
            }
            return OptionalEntity.empty();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_an_py310.py

    
    def get_session():
        with Session(engine) as session:
            yield session
    
    
    SessionDep = Annotated[Session, Depends(get_session)]
    
    app = FastAPI()
    
    
    @app.on_event("startup")
    def on_startup():
        create_db_and_tables()
    
    
    @app.post("/heroes/")
    def create_hero(hero: Hero, session: SessionDep) -> Hero:
        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

    public class DefaultProject implements Project {
    
        private final InternalMavenSession session;
        private final MavenProject project;
        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tests/prepared_stmt_test.go

    		tx.Session(&gorm.Session{PrepareStmt: true}).Create(&user)
    		return errors.New("test")
    	}); err == nil {
    		t.Error(err)
    	}
    
    	var result User
    	if err := DB.First(&result, user.ID).Error; err == nil {
    		t.Errorf("Failed, got error: %v", err)
    	}
    }
    
    func TestPreparedStmtReset(t *testing.T) {
    	tx := DB.Session(&gorm.Session{PrepareStmt: true})
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

    @SessionScoped
    public class DefaultArtifactManager implements ArtifactManager {
    
        @Nonnull
        private final InternalMavenSession session;
    
        private final Map<String, Path> paths = new ConcurrentHashMap<>();
    
        @Inject
        public DefaultArtifactManager(@Nonnull InternalMavenSession session) {
            this.session = session;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(@Nonnull Artifact artifact) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java

            if (Features.consumerPom(session.getUserProperties()) && consumerPomPresent(request.getArtifacts())) {
                request.setArtifacts(replacePom(request.getArtifacts()));
            }
            return request;
        }
    
        public DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

          initOauthSession(session);
          System.out.printf("session granted: %s\n", session);
        });
    
        System.out.printf("open this URL in a browser: %s\n", authorizeUrl);
      }
    
      /** Set the OAuth session for this client. */
      public synchronized void initOauthSession(OAuthSession session) {
        this.session = session;
        this.notifyAll();
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

            if (session != null) {
                request.setOffline(session.isOffline());
                request.setForceUpdate(session.getRequest().isUpdateSnapshots());
            }
        }
    
        private void injectSession2(ArtifactResolutionRequest request, MavenSession session) {
            injectSession1(request, session);
    
            if (session != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/feature/Features.java

        }
    
        /**
         * Check if the consumer POM feature is active.
         */
        public static boolean consumerPom(@Nullable Session session) {
            return consumerPom(session != null ? session.getUserProperties() : null);
        }
    
        private static boolean doGet(Properties userProperties, String key, boolean def) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 11 16:31:06 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/BaseRequest.java

    import org.apache.maven.api.Session;
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Base class for requests.
     *
     * @since 4.0.0
     */
    @Experimental
    abstract class BaseRequest {
    
        private final Session session;
    
        protected BaseRequest(@Nonnull Session session) {
            this.session = nonNull(session, "session cannot be null");
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top