![JAR search and dependency download from the Maven repository](/logo.png)
com.ontotext.s4.service.util.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.
The newest version!
/*
* S4 Java client library
* Copyright 2016 Ontotext AD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.ontotext.s4.service.util;
/**
* Enumeration of the valid response types accepted by the S4 API.
*/
public enum ResponseFormat {
JSON("application/json"),
GATE_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