com.ontotext.s4.service.ResponseFormat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of s4-client Show documentation
Show all versions of s4-client Show documentation
The Self-Service Semantic Suite (S4) provides a set of services for low-cost,
on-demand text analytics and metadata management in the cloud.
/*
* S4 Java client library
* Copyright (c) 2014, Ontotext AD, All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3.0 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library.
*/
package com.ontotext.s4.service;
/**
* Enumeration of the valid response types accepted by the online API.
*
*/
public enum ResponseFormat {
JSON("application/gate+json"),
GATE_XML("application/gate+xml");
/**
* The HTTP "Accept" header corresponding to this response format.
*/
public final String acceptHeader;
private ResponseFormat(String acceptHeader) {
this.acceptHeader = acceptHeader;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy