mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 22:26:01 +00:00
Bump restlet from 2.4.0 to 2.5.0-rc1
This commit is contained in:
+9
-8
@@ -44,14 +44,14 @@
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.restlet.jse</groupId>
|
||||
<groupId>org.restlet</groupId>
|
||||
<artifactId>org.restlet</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<version>${restlet.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.restlet.jse</groupId>
|
||||
<groupId>org.restlet</groupId>
|
||||
<artifactId>org.restlet.ext.jetty</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<version>${restlet.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.eclipse.jetty</groupId>
|
||||
@@ -60,15 +60,15 @@
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.restlet.jse</groupId>
|
||||
<groupId>org.restlet</groupId>
|
||||
<artifactId>org.restlet.ext.xml</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<version>${restlet.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<!-- for HTTP Digest auth -->
|
||||
<groupId>org.restlet.jse</groupId>
|
||||
<groupId>org.restlet</groupId>
|
||||
<artifactId>org.restlet.ext.crypto</artifactId>
|
||||
<version>2.4.0</version>
|
||||
<version>${restlet.version}</version>
|
||||
</dependency>
|
||||
<!-- jaxb is no longer included in jdk11+ -->
|
||||
<dependency>
|
||||
@@ -118,5 +118,6 @@
|
||||
</build>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<restlet.version>2.5.0-rc1</restlet.version>
|
||||
</properties>
|
||||
</project>
|
||||
|
||||
@@ -137,7 +137,7 @@ public class EngineApplication extends Application {
|
||||
protected class EngineStatusService extends StatusService {
|
||||
|
||||
@Override
|
||||
public Representation getRepresentation(Status status, Request request, Response response) {
|
||||
public Representation toRepresentation(Status status, Request request, Response response) {
|
||||
StringWriter st = new StringWriter();
|
||||
PrintWriter pw = new PrintWriter(st);
|
||||
if(status.getCode()==404){
|
||||
|
||||
Reference in New Issue
Block a user