Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 603 for sessionId (0.12 sec)

  1. docs_src/websockets/tutorial002.py

        return HTMLResponse(html)
    
    
    async def get_cookie_or_token(
        websocket: WebSocket,
        session: Union[str, None] = Cookie(default=None),
        token: Union[str, None] = Query(default=None),
    ):
        if session is None and token is None:
            raise WebSocketException(code=status.WS_1008_POLICY_VIOLATION)
        return session or token
    
    
    @app.websocket("/items/{item_id}/ws")
    async def websocket_endpoint(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 13 16:10:54 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, boolean setup, String... tasks) {
            return new MavenExecutionPlan(null, new DefaultLifecycles());
        }
    
        public void execute(MavenSession session) {}
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Packaging.java

     * </ul>
     *
     * <h2>Usage Example</h2>
     *
     * <pre>
     * {@code
     * Session session = ... // Obtain a Maven session
     * Packaging packaging = session.requirePackaging("jar");
     * System.out.println(packaging.getId()); // Outputs "jar"
     * }
     * </pre>
     *
     * @see org.apache.maven.api.Session#requirePackaging(String)
     * @see org.apache.maven.api.Project#getPackaging()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                throws ProjectBuilderException, IllegalArgumentException {
            InternalMavenSession session = InternalMavenSession.from(request.getSession());
            try {
                List<ArtifactRepository> repositories = session.toArtifactRepositories(
                        request.getRepositories() != null ? request.getRepositories() : session.getRemoteRepositories());
                ProjectBuildingRequest req = new DefaultProjectBuildingRequest()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java

        private ArtifactRepositoryFactory artifactRepositoryFactory;
    
        public AuthenticationInfo getAuthenticationInfo(String id) {
            MavenSession session = legacySupport.getSession();
    
            if (session != null && id != null) {
                MavenExecutionRequest request = session.getRequest();
    
                if (request != null) {
                    List<Server> servers = request.getServers();
    
                    if (servers != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java

    import static java.lang.annotation.ElementType.TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Indicates that annotated component should be instantiated before session execution starts
     * and discarded after session execution completes.
     *
     * @since 3.2.0
     */
    @Target({TYPE})
    @Retention(RUNTIME)
    @ScopeAnnotation
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCacheFactory.java

     */
    @Singleton
    @Named
    @Deprecated(since = "4.0.0")
    public class DefaultModelCacheFactory implements ModelCacheFactory {
        @Override
        public ModelCache createCache(RepositorySystemSession session) {
            return DefaultModelCache.newInstance(session);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  8. association.go

    		}
    	}
    
    	associationDB := association.DB.Session(&Session{}).Model(nil)
    	if !association.DB.FullSaveAssociations {
    		associationDB.Select(selectedSaveColumns)
    	}
    	if len(omitColumns) > 0 {
    		associationDB.Omit(omitColumns...)
    	}
    	associationDB = associationDB.Session(&Session{})
    
    	switch reflectValue.Kind() {
    	case reflect.Slice, reflect.Array:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

     * registered in the {@link Session}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface Event {
    
        /**
         * Gets the type of the event.
         *
         * @return the type of the event, never {@code null}
         */
        @Nonnull
        EventType getType();
    
        /**
         * Gets the session from which this event originates.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
    
        /**
         * The real session key if the regular session key is actually
         * the encrypted version used for key exchange.
         *
         * @return A <code>byte[]</code> containing the session key.
         */
        public byte[] getMasterKey () {
            return this.masterKey;
        }
    
    
        /**
         * Returns the session key.
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
Back to top