Skip to content

Commit

Permalink
Integrate Rest 4.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
  • Loading branch information
lukasj committed Jun 7, 2024
1 parent b23e460 commit 840285d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@

<jakarta.annotation-api.version>3.0.0</jakarta.annotation-api.version>
<jakarta.xml.bind-api.version>4.0.2</jakarta.xml.bind-api.version>
<jakarta.ws.rs-api.version>3.1.0</jakarta.ws.rs-api.version>
<jakarta.ws.rs-api.version>4.0.0</jakarta.ws.rs-api.version>
</properties>

<build>
Expand Down
11 changes: 10 additions & 1 deletion rest/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2023 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2024 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
Expand Down Expand Up @@ -69,6 +69,15 @@
<goals>
<goal>manifest</goal>
</goals>
<configuration>
<instructions>
<Import-Package>
jakarta.annotation*;version=!,
jakarta.ws.rs*;version=!,
*
</Import-Package>
</instructions>
</configuration>
</execution>
</executions>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, 2021 Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2024 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
Expand Down Expand Up @@ -47,6 +47,12 @@ public class JsonValueBodyReader implements MessageBodyReader<JsonValue> {
private static final String JSON = "json";
private static final String PLUS_JSON = "+json";

/**
* Constructor.
*/
public JsonValueBodyReader() {
}

@Override
public boolean isReadable(Class<?> aClass, Type type,
Annotation[] annotations, MediaType mediaType) {
Expand Down

0 comments on commit 840285d

Please sign in to comment.