- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for req (0.03 sec)
-
internal/grid/handlers.go
// The request may be reused, so caller should clear any fields. func (h *SingleHandler[Req, Resp]) NewRequest() Req { return h.newReq() } // Register a handler for a Req -> Resp roundtrip. // Requests are automatically recycled. func (h *SingleHandler[Req, Resp]) Register(m *Manager, handle func(req Req) (resp Resp, err *RemoteErr), subroute ...string) error { if h.newReq == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 27.7K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
} public void add(ModelProblemCollectorRequest req) { switch (req.getSeverity()) { case FATAL: if (!fatals.contains(req.getMessage())) { fatals.add(req.getMessage()); } break; case ERROR: if (!errors.contains(req.getMessage())) { errors.add(req.getMessage()); } break;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
@Override public void add(ModelProblemCollectorRequest req) { int line = -1; int column = -1; String source = null; String modelId = null; if (req.getLocation() != null) { line = req.getLocation().getLineNumber(); column = req.getLocation().getColumnNumber(); if (req.getLocation().getSource() != null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
cmd/test-utils_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/batch-handlers.go
defer cancel() req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf)) if err != nil { return err } if token != "" { req.Header.Set("Authorization", token) } req.Header.Set("Content-Type", "application/json") clnt := http.Client{Transport: getRemoteInstanceTransport()} resp, err := clnt.Do(req) if err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 18 15:32:09 UTC 2024 - 62.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java
SimpleModelProblemCollector(ModelValidationResult result) { this.result = result; } public void add(ModelProblemCollectorRequest req) { if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { result.addMessage(req.getMessage()); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> { if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { errors.add(new ProfileActivationException(req.getMessage(), req.getException())); } }); if (!errors.isEmpty()) { throw errors.get(0); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
internal/event/target/webhook.go
tokens := strings.Fields(target.args.AuthToken) switch len(tokens) { case 2: req.Header.Set("Authorization", target.args.AuthToken) case 1: req.Header.Set("Authorization", "Bearer "+target.args.AuthToken) } req.Header.Set("Content-Type", "application/json") resp, err := target.httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
MavenSession session = legacySupport.getSession(); if (session != null) { MavenExecutionRequest req = session.getRequest(); if (req != null) { request.setActiveProfileIds(req.getActiveProfiles()); request.setInactiveProfileIds(req.getInactiveProfiles()); } } } return request; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
internal/logger/target/http/http.go
req.Header.Set(xhttp.MinioDeploymentID, xhttp.GlobalDeploymentID) // Set user-agent to indicate MinIO release // version to the configured log endpoint req.Header.Set("User-Agent", h.config.UserAgent) if h.config.AuthToken != "" { req.Header.Set("Authorization", h.config.AuthToken) } resp, err := h.client.Do(req) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0)