diff --git a/media/sse/src/main/java/org/glassfish/jersey/media/sse/JerseySseEventSourceBuilder.java b/media/sse/src/main/java/org/glassfish/jersey/media/sse/JerseySseEventSourceBuilder.java new file mode 100644 index 0000000000..397c5749bc --- /dev/null +++ b/media/sse/src/main/java/org/glassfish/jersey/media/sse/JerseySseEventSourceBuilder.java @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v. 2.0, which is available at + * http://www.eclipse.org/legal/epl-2.0. + * + * This Source Code may also be made available under the following Secondary + * Licenses when the conditions for such availability set forth in the + * Eclipse Public License v. 2.0 are satisfied: GNU General Public License, + * version 2 with the GNU Classpath Exception, which is available at + * https://www.gnu.org/software/classpath/license.html. + * + * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 + */ +package org.glassfish.jersey.media.sse; + +import org.glassfish.jersey.media.sse.internal.JerseySseEventSource; + +import javax.ws.rs.sse.SseEventSource; + +/** + * Public {@link SseEventSource.Builder} implementation. + */ +public final class JerseySseEventSourceBuilder extends JerseySseEventSource.Builder { +} diff --git a/media/sse/src/main/resources/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder b/media/sse/src/main/resources/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder index b87d9d3df3..a8582e5275 100644 --- a/media/sse/src/main/resources/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder +++ b/media/sse/src/main/resources/META-INF/services/javax.ws.rs.sse.SseEventSource$Builder @@ -1 +1 @@ -org.glassfish.jersey.media.sse.internal.JerseySseEventSource$Builder +org.glassfish.jersey.media.sse.JerseySseEventSourceBuilder