Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for newContext (0.11 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("1.3.1_09-b03")));
    
            assertActivation(true, profile, newContext(null, newProperties("1.5")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0")));
            assertActivation(true, profile, newContext(null, newProperties("1.5.0_09")));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(false, profile, newContext(newProperties("other", "value"), null));
        }
    
        @Test
        void testWithNameOnly_SystemProperty() throws Exception {
            Profile profile = newProfile("prop", null);
    
            assertActivation(true, profile, newContext(null, newProperties("prop", "value")));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            assertActivation(false, profile, newContext(null, newProperties("linux", "6.5.0-1014-aws", "amd64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "1", "aarch64")));
            assertActivation(false, profile, newContext(null, newProperties("windows", "99", "amd64")));
            assertActivation(true, profile, newContext(null, newProperties("windows", "99", "aarch64")));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    // GetBucketLocationHandler - GET Bucket location.
    // -------------------------
    // This operation returns bucket location.
    func (api objectAPIHandlers) GetBucketLocationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketLocation")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

        @BeforeEach
        abstract void setUp() throws Exception;
    
        @AfterEach
        void tearDown() throws Exception {
            activator = null;
        }
    
        protected ProfileActivationContext newContext(final Properties userProperties, final Properties systemProperties) {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    //   - X-Amz-Server-Side-Encryption-Customer-Key
    //   - X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key
    func (api objectAPIHandlers) NewMultipartUploadHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "NewMultipartUpload")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    // also specify a data serialization format (JSON, CSV) of the object.
    func (api objectAPIHandlers) SelectObjectContentHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "SelectObject")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	// Fetch object stat info.
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    func (s *peerRESTServer) DownloadProfilingDataHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	ctx := newContext(r, w, "DownloadProfiling")
    	profileData, err := getProfileData()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	peersLogIf(ctx, gob.NewEncoder(w).Encode(profileData))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/admin-router.go

    	handlerName := getHandlerName(f, "adminAPIHandlers")
    
    	var handler http.HandlerFunc = func(w http.ResponseWriter, r *http.Request) {
    		// Update request context with `logger.ReqInfo`.
    		r = r.WithContext(newContext(r, w, handlerName))
    
    		defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    
    		// Check if object layer is available, if not return error early.
    		if !handlerFlags.Has(noObjLayerFlag) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                doc.put(HL_CACHE, StringUtil.EMPTY);
            }
    
            try {
                final Template template = handlebars.compile(cacheTemplateName);
                final Context hbsContext = Context.newContext(doc);
                return template.apply(hbsContext);
            } catch (final Exception e) {
                logger.warn("Failed to create a cache response.", e);
            }
    
            return null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top