Ollama4j
A Java library (wrapper/binding) for Ollama server.
Loading...
Searching...
No Matches
Constants.java
Go to the documentation of this file.
1/*
2 * Ollama4j - Java library for interacting with Ollama server.
3 * Copyright (c) 2025 Amith Koujalgi and contributors.
4 *
5 * Licensed under the MIT License (the "License");
6 * you may not use this file except in compliance with the License.
7 *
8*/
9package io.github.ollama4j.utils;
10
11public final class Constants {
12 private Constants() {}
13
14 public static final class HttpConstants {
15 private HttpConstants() {}
16
17 public static final String APPLICATION_JSON = "application/json";
18 public static final String APPLICATION_XML = "application/xml";
19 public static final String TEXT_PLAIN = "text/plain";
20 public static final String HEADER_KEY_CONTENT_TYPE = "Content-Type";
21 public static final String HEADER_KEY_ACCEPT = "Accept";
22 }
23}