repo stringclasses 1k
values | file_url stringlengths 96 373 | file_path stringlengths 11 294 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 6
values | commit_sha stringclasses 1k
values | retrieved_at stringdate 2026-01-04 14:45:56 2026-01-04 18:30:23 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/workflows/dapr-workflows/src/main/java/com/baeldung/dapr/workflow/model/RideWorkflowRequest.java | workflows/dapr-workflows/src/main/java/com/baeldung/dapr/workflow/model/RideWorkflowRequest.java | package com.baeldung.dapr.workflow.model;
import com.baeldung.dapr.pubsub.model.RideRequest;
public class RideWorkflowRequest {
private String rideId;
private RideRequest rideRequest;
private String driverId;
private String workflowInstanceId;
public RideWorkflowRequest() {
}
public Ride... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/workflows/dapr-workflows/src/main/java/com/baeldung/dapr/workflow/model/RideWorkflowStatus.java | workflows/dapr-workflows/src/main/java/com/baeldung/dapr/workflow/model/RideWorkflowStatus.java | package com.baeldung.dapr.workflow.model;
public record RideWorkflowStatus(String rideId, String status, String message) {
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/test/java/com/baeldung/TriviaServiceUnitTest.java | libraries-open-telemetry/otel-collector/trivia-service/src/test/java/com/baeldung/TriviaServiceUnitTest.java | package com.baeldung;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import okhttp3.ResponseBody;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.io.IOException;
import static org.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TriviaService.java | libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TriviaService.java | package com.baeldung;
import java.io.IOException;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import io.opentelemetry.context.propagation.TextMapPropagator;
import io.opentelemetry.context.Context;
public class TriviaService {
private final OkHttpClient client;
private TextMapPropagator textMapProp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TriviaResource.java | libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TriviaResource.java | package com.baeldung;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import okhttp3.OkHttpClient;
import java.io.IOExceptio... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TelemetryConfig.java | libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/TelemetryConfig.java | package com.baeldung;
import io.opentelemetry.sdk.resources.Resource;
import io.opentelemetry.api.OpenTelemetry;
import io.opentelemetry.api.baggage.propagation.W3CBaggagePropagator;
import io.opentelemetry.api.common.AttributeKey;
import io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator;
import io.open... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/WordResponse.java | libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/WordResponse.java | package com.baeldung;
public record WordResponse(String wordWithDefinition, int httpResponseCode) {
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/AppConfig.java | libraries-open-telemetry/otel-collector/trivia-service/src/main/java/com/baeldung/AppConfig.java | package com.baeldung;
import jakarta.ws.rs.ApplicationPath;
import jakarta.ws.rs.core.Application;
@ApplicationPath("/api")
public class AppConfig extends Application {
} | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/dictionary-service/src/test/java/com/baeldung/DictionaryServiceUnitTest.java | libraries-open-telemetry/otel-collector/dictionary-service/src/test/java/com/baeldung/DictionaryServiceUnitTest.java | package com.baeldung;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
public class DictionaryServiceUnitTest {
private DictionaryService dictionaryService;
@BeforeEach
void setUp() {
dictionaryService = new ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryServiceApplication.java | libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryServiceApplication.java | package com.baeldung;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DictionaryServiceApplication {
public static void main(String[] args) {
SpringApplication.run(DictionaryServiceApplication.clas... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryService.java | libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryService.java | package com.baeldung;
import org.springframework.stereotype.Service;
import java.util.HashMap;
import java.util.Map;
import java.util.Random;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Service
public class DictionaryService {
private static final Logger logger = LoggerFactory.getLogger(DictionaryS... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryController.java | libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/DictionaryController.java | package com.baeldung;
import java.util.HashMap;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/OtelConfiguration.java | libraries-open-telemetry/otel-collector/dictionary-service/src/main/java/com/baeldung/OtelConfiguration.java | package com.baeldung;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import io.opentelemetry.api.GlobalOpenTelemetry;
import io.opentelemetry.api.OpenTelemetry;
@Configuration
public class OtelConfiguration {
@Bean
public OpenTelemetry openTel... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/batch/CompositeItemReaderUnitTest.java | spring-batch-2/src/test/java/com/baeldung/batch/CompositeItemReaderUnitTest.java | package com.baeldung.batch;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.mockito.Mockito.mock;
import sta... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/batch/SpringBatchRetryIntegrationTest.java | spring-batch-2/src/test/java/com/baeldung/batch/SpringBatchRetryIntegrationTest.java | package com.baeldung.batch;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
import org.apache.http.client.me... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/dataloaderbatchprocessing/DataLoaderUnitTest.java | spring-batch-2/src/test/java/com/baeldung/dataloaderbatchprocessing/DataLoaderUnitTest.java | package com.baeldung.dataloaderbatchprocessing;
import com.baeldung.dataloaderbatchprocessing.entity.User;
import com.baeldung.dataloaderbatchprocessing.repository.UserRepository;
import com.baeldung.dataloaderbatchprocessing.service.UserService;
import org.dataloader.DataLoader;
import org.dataloader.DataLoaderRegist... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/restartjob/RestartJobBatchAppIntegrationTest.java | spring-batch-2/src/test/java/com/baeldung/restartjob/RestartJobBatchAppIntegrationTest.java | package com.baeldung.restartjob;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import org.junit.jupiter.api.Test;
import org.springframework.batch.core.BatchStatus;
import org.sp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/conditionalflow/DeciderJobIntegrationTest.java | spring-batch-2/src/test/java/com/baeldung/conditionalflow/DeciderJobIntegrationTest.java | package com.baeldung.conditionalflow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.Collection;
import java.util.Iterator;
import com.baeldung.conditionalflow.config.NumberInfoConfig;
import org.junit.jupiter.api.Test;
import ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/conditionalflow/model/NumberInfoUnitTest.java | spring-batch-2/src/test/java/com/baeldung/conditionalflow/model/NumberInfoUnitTest.java | package com.baeldung.conditionalflow.model;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import o... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/conditionalflow/step/NumberInfoClassifierUnitTest.java | spring-batch-2/src/test/java/com/baeldung/conditionalflow/step/NumberInfoClassifierUnitTest.java | package com.baeldung.conditionalflow.step;
import static org.junit.jupiter.api.Assertions.assertEquals;
import com.baeldung.conditionalflow.model.NumberInfo;
import org.junit.jupiter.api.Test;
class NumberInfoClassifierUnitTest {
@Test
void givenNumberInfo_whenProcess_thenConvertsToInteger() throws Exceptio... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/conditionalflow/step/NumberInfoGeneratorUnitTest.java | spring-batch-2/src/test/java/com/baeldung/conditionalflow/step/NumberInfoGeneratorUnitTest.java | package com.baeldung.conditionalflow.step;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import com.baeldung.conditionalflow.model.NumberInfo;
import org.junit.jupiter.api.Test;
public class NumberInfoGeneratorUnitTest {
@Test
public void givenArray_whenGenerator_co... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/multiprocessorandwriter/BatchJobIntegrationTest.java | spring-batch-2/src/test/java/com/baeldung/multiprocessorandwriter/BatchJobIntegrationTest.java | package com.baeldung.multiprocessorandwriter;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/multiprocessorandwriter/JpaTestConfig.java | spring-batch-2/src/test/java/com/baeldung/multiprocessorandwriter/JpaTestConfig.java | package com.baeldung.multiprocessorandwriter;
import java.util.HashMap;
import java.util.Map;
import javax.sql.DataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.orm.jpa.JpaTransactionManager;
import org.springframew... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/test/java/com/baeldung/springbatch/SpringBatchLiveTest.java | spring-batch-2/src/test/java/com/baeldung/springbatch/SpringBatchLiveTest.java | package com.baeldung.springbatch.jobs;
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.uti... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/CompositeItemReaderConfig.java | spring-batch-2/src/main/java/com/baeldung/batch/CompositeItemReaderConfig.java | package com.baeldung.batch;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.job.builder.JobBuilder;
import org.springframework.batch.core.repository.JobRepo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/SpringBatchRetryConfig.java | spring-batch-2/src/main/java/com/baeldung/batch/SpringBatchRetryConfig.java | package com.baeldung.batch;
import org.apache.http.client.config.RequestConfig;
import org.apache.http.conn.ConnectTimeoutException;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
import org.springframework.batch.core.Job;
import org.springframework.batch.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/service/RecordFieldSetMapper.java | spring-batch-2/src/main/java/com/baeldung/batch/service/RecordFieldSetMapper.java | package com.baeldung.batch.service;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import org.springframework.batch.item.file.mapping.FieldSetMapper;
import org.springframework.batch.item.file.transform.FieldSet;
import com.baeldung.batch.model.Transaction;
public class RecordFieldSetMapper ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/service/RetryItemProcessor.java | spring-batch-2/src/main/java/com/baeldung/batch/service/RetryItemProcessor.java | package com.baeldung.batch.service;
import org.apache.http.HttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.util.EntityUtils;
import org.codehaus.jettison.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/service/adapter/LocalDateTimeAdapter.java | spring-batch-2/src/main/java/com/baeldung/batch/service/adapter/LocalDateTimeAdapter.java | package com.baeldung.batch.service.adapter;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import jakarta.xml.bind.annotation.adapters.XmlAdapter;
public class LocalDateTimeAdapter extends XmlAdapter<String, LocalDateTime> {
private static final String DATE_FORMAT = "yyyy-MM-dd HH:mm... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/model/Product.java | spring-batch-2/src/main/java/com/baeldung/batch/model/Product.java | package com.baeldung.batch.model;
import java.math.BigDecimal;
import jakarta.persistence.*;
@Entity
@Table(name = "products")
public class Product {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "productid")
private Long productId;
@Column(name = "productname")
priva... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/batch/model/Transaction.java | spring-batch-2/src/main/java/com/baeldung/batch/model/Transaction.java | package com.baeldung.batch.model;
import java.time.LocalDateTime;
import com.baeldung.batch.service.adapter.LocalDateTimeAdapter;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
@SuppressWarnings("restriction")
@XmlRootElement(name = "transactionRec... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/DataLoaderApp.java | spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/DataLoaderApp.java | package com.baeldung.dataloaderbatchprocessing;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class DataLoaderApp {
public static void main(String[] args) {
SpringApplication.run(DataLoaderApp.class, a... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/UserDataLoader.java | spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/UserDataLoader.java | package com.baeldung.dataloaderbatchprocessing;
import org.dataloader.BatchLoader;
import org.dataloader.DataLoader;
import org.dataloader.DataLoaderFactory;
import org.springframework.stereotype.Component;
import java.util.Map;
import java.util.stream.Collectors;
import com.baeldung.dataloaderbatchprocessing.entity... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/service/UserService.java | spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/service/UserService.java | package com.baeldung.dataloaderbatchprocessing.service;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import com.baeldung.dataloaderbatchprocessing.entity.User;
import com.baeldung.dataloaderbatchprocessing.repository.UserRepository;
@Service
pub... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/repository/UserRepository.java | spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/repository/UserRepository.java | package com.baeldung.dataloaderbatchprocessing.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import com.baeldung.dataloaderbatchprocessing.entity.User;
public interface UserRepository extends JpaRepository<User, String> {
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/entity/User.java | spring-batch-2/src/main/java/com/baeldung/dataloaderbatchprocessing/entity/User.java | package com.baeldung.dataloaderbatchprocessing.entity;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Entity
@Table(name = "users")
@Getter
@AllArgsConstructor
@NoArgsConstruc... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/restartjob/RestartJobBatchApp.java | spring-batch-2/src/main/java/com/baeldung/restartjob/RestartJobBatchApp.java | package com.baeldung.restartjob;
import java.util.List;
import org.springframework.batch.core.BatchStatus;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.JobInstance;
import org.springframework.batch.core.JobParameters;
import org.s... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/restartjob/BatchConfig.java | spring-batch-2/src/main/java/com/baeldung/restartjob/BatchConfig.java | package com.baeldung.restartjob;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.StepScope;
import org.springframework.batch.core.job.builder.JobBuilder;
import org.springframework.batch.core.repository.JobRepository;... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/ConditionalFlowApplication.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/ConditionalFlowApplication.java | package com.baeldung.conditionalflow;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ConditionalFlowA... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/NumberInfoDecider.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/NumberInfoDecider.java | package com.baeldung.conditionalflow;
import org.springframework.batch.core.JobExecution;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.job.flow.FlowExecutionStatus;
import org.springframework.batch.core.job.flow.JobExecutionDecider;
public class NumberInfoDecider implemen... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/model/NumberInfo.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/model/NumberInfo.java | package com.baeldung.conditionalflow.model;
import java.util.Objects;
public class NumberInfo {
private int number;
public NumberInfo(int number) {
this.number = number;
}
public static NumberInfo from(int number) {
return new NumberInfo(number);
}
public boolean isPositive(... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/PrependingStdoutWriter.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/PrependingStdoutWriter.java | package com.baeldung.conditionalflow.step;
import org.springframework.batch.item.Chunk;
import org.springframework.batch.item.ItemWriter;
public class PrependingStdoutWriter<T> implements ItemWriter<T> {
private String prependText;
public PrependingStdoutWriter(String prependText) {
this.prependText ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoGenerator.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoGenerator.java | package com.baeldung.conditionalflow.step;
import com.baeldung.conditionalflow.model.NumberInfo;
import org.springframework.batch.item.ItemReader;
public class NumberInfoGenerator implements ItemReader<NumberInfo> {
private int[] values;
private int counter;
public NumberInfoGenerator(int[] values) {
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NotifierTasklet.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NotifierTasklet.java | package com.baeldung.conditionalflow.step;
import org.springframework.batch.core.StepContribution;
import org.springframework.batch.core.scope.context.ChunkContext;
import org.springframework.batch.core.step.tasklet.Tasklet;
import org.springframework.batch.repeat.RepeatStatus;
public class NotifierTasklet implements... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoClassifierWithDecider.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoClassifierWithDecider.java | package com.baeldung.conditionalflow.step;
import com.baeldung.conditionalflow.model.NumberInfo;
import org.springframework.batch.core.listener.ItemListenerSupport;
import org.springframework.batch.item.ItemProcessor;
public class NumberInfoClassifierWithDecider extends ItemListenerSupport<NumberInfo, Integer> implem... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoClassifier.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/step/NumberInfoClassifier.java | package com.baeldung.conditionalflow.step;
import static com.baeldung.conditionalflow.NumberInfoDecider.NOTIFY;
import static com.baeldung.conditionalflow.NumberInfoDecider.QUIET;
import com.baeldung.conditionalflow.model.NumberInfo;
import org.springframework.batch.core.ExitStatus;
import org.springframework.batch.c... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/conditionalflow/config/NumberInfoConfig.java | spring-batch-2/src/main/java/com/baeldung/conditionalflow/config/NumberInfoConfig.java | package com.baeldung.conditionalflow.config;
import static com.baeldung.conditionalflow.NumberInfoDecider.NOTIFY;
import javax.sql.DataSource;
import com.baeldung.conditionalflow.NumberInfoDecider;
import com.baeldung.conditionalflow.model.NumberInfo;
import com.baeldung.conditionalflow.step.NotifierTasklet;
import ... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/BatchApp.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/BatchApp.java | package com.baeldung.multiprocessorandwriter;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.boot.CommandLineRunner;
import o... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/model/Customer.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/model/Customer.java | package com.baeldung.multiprocessorandwriter.model;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
@Entity
public class Customer {
@Id
private Long id;
private String name;
private String email;
private String type;
public Customer() {}
public Customer(Long id, Str... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/TypeAProcessor.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/TypeAProcessor.java | package com.baeldung.multiprocessorandwriter.processor;
import org.springframework.batch.item.ItemProcessor;
import com.baeldung.multiprocessorandwriter.model.Customer;
public class TypeAProcessor implements ItemProcessor<Customer, Customer> {
@Override
public Customer process(Customer customer) {
cu... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/CustomerProcessorRouter.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/CustomerProcessorRouter.java | package com.baeldung.multiprocessorandwriter.processor;
import org.springframework.batch.item.ItemProcessor;
import com.baeldung.multiprocessorandwriter.model.Customer;
public class CustomerProcessorRouter implements ItemProcessor<Customer, Customer> {
private final TypeAProcessor typeAProcessor;
private fin... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/TypeBProcessor.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/processor/TypeBProcessor.java | package com.baeldung.multiprocessorandwriter.processor;
import org.springframework.batch.item.ItemProcessor;
import com.baeldung.multiprocessorandwriter.model.Customer;
public class TypeBProcessor implements ItemProcessor<Customer, Customer> {
@Override
public Customer process(Customer customer) {
cu... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/config/BatchConfig.java | spring-batch-2/src/main/java/com/baeldung/multiprocessorandwriter/config/BatchConfig.java | package com.baeldung.multiprocessorandwriter.config;
import java.util.List;
import javax.sql.DataSource;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.batch.core.j... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/ParallelJobService.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/ParallelJobService.java | package com.baeldung.springbatch.jobs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.beans.factory.annotation.Autowired;... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/SequentialJobsConfig.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/SequentialJobsConfig.java | package com.baeldung.springbatch.jobs;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import org.springframework.beans.factory.annotation.Autowired;
imp... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/JobsConfig.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/JobsConfig.java | package com.baeldung.springbatch.jobs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.Step;
import org.springframework.batch.core.job.builder.JobBuilder;
import org.springframework.batch.core.repository.JobRepository;
import org... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/ScheduledJobs.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/ScheduledJobs.java | package com.baeldung.springbatch.jobs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.launch.JobLauncher;
import or... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/DynamicJobService.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/DynamicJobService.java | package com.baeldung.springbatch.jobs;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.springframework.batch.core.Job;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersBuilder;
import org.springframework.batch.core.Step;
import... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/BatchConfig.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/BatchConfig.java | package com.baeldung.springbatch.jobs;
import javax.sql.DataSource;
import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.boot.jdbc.DataSourceBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configurat... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzJobOne.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzJobOne.java | package com.baeldung.springbatch.jobs.quartz;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
@Component
public class QuartzJobOne implements Job {
priv... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzJobTwo.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzJobTwo.java | package com.baeldung.springbatch.jobs.quartz;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
@Component
public class QuartzJobTwo implements Job {
priv... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzConfig.java | spring-batch-2/src/main/java/com/baeldung/springbatch/jobs/quartz/QuartzConfig.java | package com.baeldung.springbatch.jobs.quartz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;
import static org.quartz.JobB... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/test/java/com/baeldung/RestServiceVerticleUnitTest.java | vertx-modules/vertx/src/test/java/com/baeldung/RestServiceVerticleUnitTest.java | package com.baeldung;
import java.io.IOException;
import java.net.ServerSocket;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import com.baeldung.rest.RestServiceVerticle;
import io.vertx.core.DeploymentOptions;
import io.vertx... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/test/java/com/baeldung/SimpleServerVerticleUnitTest.java | vertx-modules/vertx/src/test/java/com/baeldung/SimpleServerVerticleUnitTest.java | package com.baeldung;
import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.unit.Async;
import io.vertx.ext.unit.TestContext;
import io.vertx.ext.unit.junit.VertxUnitRunner;
import java.io.IOException;
import java.net.ServerSocket;
import org.ju... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/main/java/com/baeldung/SimpleServerVerticle.java | vertx-modules/vertx/src/main/java/com/baeldung/SimpleServerVerticle.java | package com.baeldung;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
public class SimpleServerVerticle extends AbstractVerticle {
@Override
public void start(Future<Void> future) {
vertx.createHttpServer()
.requestHandler(
r -> r.response().end("... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/main/java/com/baeldung/HelloVerticle.java | vertx-modules/vertx/src/main/java/com/baeldung/HelloVerticle.java | package com.baeldung;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
public class HelloVerticle extends AbstractVerticle {
private static final Logger LOGGER = LoggerFactory.getLogger(HelloVerticle.class);
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/main/java/com/baeldung/model/Article.java | vertx-modules/vertx/src/main/java/com/baeldung/model/Article.java | package com.baeldung.model;
public class Article {
private String id;
private String content;
private String author;
private String datePublished;
private int wordCount;
public Article(String id, String content, String author, String datePublished, int wordCount) {
super();
thi... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx/src/main/java/com/baeldung/rest/RestServiceVerticle.java | vertx-modules/vertx/src/main/java/com/baeldung/rest/RestServiceVerticle.java | package com.baeldung.rest;
import com.baeldung.model.Article;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.json.Json;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.RoutingContext;
public class RestServiceVerticle extends AbstractVerticle {
@Override
publi... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/VertxWithRxJavaIntegrationTest.java | vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/VertxWithRxJavaIntegrationTest.java | package com.baeldung.weather;
import io.reactivex.Flowable;
import io.reactivex.functions.Function;
import io.vertx.core.json.JsonObject;
import io.vertx.reactivex.core.Vertx;
import io.vertx.reactivex.core.buffer.Buffer;
import io.vertx.reactivex.core.file.FileSystem;
import io.vertx.reactivex.core.http.HttpClient;
i... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/MetaWeatherClient.java | vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/MetaWeatherClient.java | package com.baeldung.weather;
import io.reactivex.Flowable;
import io.vertx.core.http.RequestOptions;
import io.vertx.reactivex.core.http.HttpClient;
import io.vertx.reactivex.core.http.HttpClientRequest;
import io.vertx.reactivex.core.http.HttpClientResponse;
import static java.lang.String.format;
class MetaWeather... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/CityAndDayLength.java | vertx-modules/vertx-and-rxjava/src/test/java/com/baeldung/weather/CityAndDayLength.java | package com.baeldung.weather;
import java.text.MessageFormat;
class CityAndDayLength {
private final String city;
private final double dayLengthInHours;
CityAndDayLength(String city, long dayLengthInSeconds) {
this.city = city;
this.dayLengthInHours = dayLengthInSeconds / (60.0 * 60.0);
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/test/java/com/baeldung/SpringContextTest.java | vertx-modules/spring-vertx/src/test/java/com/baeldung/SpringContextTest.java | package com.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.baeldung.vertxspring.VertxSpringApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = VertxS... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/test/java/com/baeldung/vertxspring/VertxSpringApplicationIntegrationTest.java | vertx-modules/spring-vertx/src/test/java/com/baeldung/vertxspring/VertxSpringApplicationIntegrationTest.java | package com.baeldung.vertxspring;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.web.client.TestRestTemplate;
import org.springframework.http.Respons... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/VertxSpringApplication.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/VertxSpringApplication.java | package com.baeldung.vertxspring;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntitySca... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/util/DbBootstrap.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/util/DbBootstrap.java | package com.baeldung.vertxspring.util;
import java.util.Random;
import java.util.UUID;
import java.util.stream.IntStream;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import com.baeldung.vertxspring.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/service/ArticleService.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/service/ArticleService.java | package com.baeldung.vertxspring.service;
import com.baeldung.vertxspring.entity.Article;
import com.baeldung.vertxspring.repository.ArticleRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class ArticleSer... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/repository/ArticleRepository.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/repository/ArticleRepository.java | package com.baeldung.vertxspring.repository;
import com.baeldung.vertxspring.entity.Article;
import org.springframework.data.jpa.repository.JpaRepository;
public interface ArticleRepository extends JpaRepository<Article, Long> {
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/entity/Article.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/entity/Article.java | package com.baeldung.vertxspring.entity;
import javax.persistence.Entity;
import javax.persistence.Id;
import org.springframework.data.annotation.PersistenceConstructor;
@Entity
public class Article {
@Id
private Long id;
private String article;
private Article() {
}
@PersistenceConstructo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/config/PortConfiguration.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/config/PortConfiguration.java | package com.baeldung.vertxspring.config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import java.io.IOException;
import java.net.ServerSocket;
@Configuration
public class PortConfiguration {
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/verticles/ServerVerticle.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/verticles/ServerVerticle.java | package com.baeldung.vertxspring.verticles;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import io.vertx.core.AbstractVerticle;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.RoutingContext;
@Component
public class ServerVerticle extends Abs... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/verticles/ArticleRecipientVerticle.java | vertx-modules/spring-vertx/src/main/java/com/baeldung/vertxspring/verticles/ArticleRecipientVerticle.java | package com.baeldung.vertxspring.verticles;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.baeldung.vertxspring.service.ArticleService;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMap... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/rome/src/main/java/com/baeldung/rome/RSSRomeExample.java | web-modules/rome/src/main/java/com/baeldung/rome/RSSRomeExample.java | package com.baeldung.rome;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import com.sun.syndication.feed.synd.SyndCategory;
import c... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/https/JerseyHttpsClientManualTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/https/JerseyHttpsClientManualTest.java | package com.baeldung.jersey.https;
import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.get;
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
import static org.junit.jupiter.api.Assertions.assertEquals;
import j... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/serverlogging/JerseyServerLoggingIntegrationTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/serverlogging/JerseyServerLoggingIntegrationTest.java | package com.baeldung.jersey.serverlogging;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.net.URI;
import org.glassfish.grizzly.http.server.HttpServer;
import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.a... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/XMLResponseUnitTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/XMLResponseUnitTest.java | package com.baeldung.jersey.response;
import com.baeldung.jersey.model.Product;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.Invocation;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import jakarta.... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/GenericRestResponseUnitTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/GenericRestResponseUnitTest.java | package com.baeldung.jersey.response;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.Invocation;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import org.junit.jupiter.api.BeforeEach;
import org.junit... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/JsonResponseUnitTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/response/JsonResponseUnitTest.java | package com.baeldung.jersey.response;
import com.baeldung.jersey.model.User;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.Invocation;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import org.junit.j... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/jackson/CustomObjectMapperUnitTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/jackson/CustomObjectMapperUnitTest.java | package com.baeldung.jersey.jackson;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Arrays;
import org.junit.ju... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/test/java/com/baeldung/jersey/timeout/JerseyClientTimeoutIntegrationTest.java | web-modules/jersey-2/src/test/java/com/baeldung/jersey/timeout/JerseyClientTimeoutIntegrationTest.java | package com.baeldung.jersey.timeout;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertInstanceOf;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.net.URI;
impo... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/model/Product.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/model/Product.java | package com.baeldung.jersey.model;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
@XmlRootElement
public class Product {
private int id;
private String name;
@XmlElement
public int getId() {
return id;
}
public void setId(int id) {
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/model/User.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/model/User.java | package com.baeldung.jersey.model;
public class User {
private int id;
private String name;
public User() {
}
public User(int id, String name) {
this.id = id;
this.name = name;
}
public int getId() {
return id;
}
public void setId(int id) {
this.i... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/JerseyServerLoggingApp.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/JerseyServerLoggingApp.java | package com.baeldung.jersey.serverlogging;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.glassfish.jersey.logging.LoggingFeature;
import org.glassfish.jersey.server.ResourceConfig;
public class JerseyServerLoggingApp extends ResourceConfig {
public JerseyServerLoggingApp() {
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/LoggingResource.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/LoggingResource.java | package com.baeldung.jersey.serverlogging;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
@Path("/logging")
public class LoggingResource {
@GET
public String get() {
return "Hello";
}
}
| java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/CustomServerLoggingFilter.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/serverlogging/CustomServerLoggingFilter.java | package com.baeldung.jersey.serverlogging;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import jakarta.ws.rs.container.ContainerRequestContext;
import jakarta.ws.rs.container.ContainerRequestFilter;
import jakarta.ws.rs.container.ContainerResponseContext;
import jakarta.ws.rs.container.ContainerResponseFi... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/server/EmbeddedJerseyServer.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/server/EmbeddedJerseyServer.java | package com.baeldung.jersey.server;
import java.io.IOException;
import java.net.URI;
import org.glassfish.grizzly.http.server.HttpServer;
import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory;
import org.glassfish.jersey.server.ResourceConfig;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/GenericRestResponse.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/GenericRestResponse.java | package com.baeldung.jersey.response;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.ClientBuilder;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactor... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/JsonResponse.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/JsonResponse.java | package com.baeldung.jersey.response;
import com.baeldung.jersey.model.User;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import org.slf4j.Logger;
public class JsonResponse {
... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/XMLResponse.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/response/XMLResponse.java | package com.baeldung.jersey.response;
import com.baeldung.jersey.model.Product;
import jakarta.ws.rs.client.Client;
import jakarta.ws.rs.client.Entity;
import jakarta.ws.rs.client.WebTarget;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import jakarta.xml.bind.JAXBContext;
import jakarta.xml... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/jackson/model/Message.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/jackson/model/Message.java | package com.baeldung.jersey.jackson.model;
import java.time.LocalDate;
import java.util.List;
public class Message {
public String text;
public LocalDate date;
public String optionalField;
public List<String> metadata;
public Message(String text, LocalDate date, String optionalField) {
th... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
eugenp/tutorials | https://github.com/eugenp/tutorials/blob/4463e58ffb73fe599bac2479abd84598c6e70a1a/web-modules/jersey-2/src/main/java/com/baeldung/jersey/jackson/model/PublicApiMessage.java | web-modules/jersey-2/src/main/java/com/baeldung/jersey/jackson/model/PublicApiMessage.java | package com.baeldung.jersey.jackson.model;
import java.time.LocalDate;
import com.baeldung.jersey.jackson.annotation.PublicApi;
@PublicApi
public class PublicApiMessage {
public String text;
public LocalDate date;
public String sensitiveField;
public PublicApiMessage(String text, LocalDate date, St... | java | MIT | 4463e58ffb73fe599bac2479abd84598c6e70a1a | 2026-01-04T14:45:57.069771Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.