<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Api on Devops Monk</title><link>https://blog.devops-monk.com/tags/api/</link><description>Recent content in Api on Devops Monk</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 04 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.devops-monk.com/tags/api/index.xml" rel="self" type="application/rss+xml"/><item><title>New String Methods (Java 11): isBlank, lines, strip, repeat</title><link>https://blog.devops-monk.com/tutorials/java11/string-methods/</link><pubDate>Mon, 04 May 2026 00:00:00 +0000</pubDate><guid>https://blog.devops-monk.com/tutorials/java11/string-methods/</guid><description>New String Methods in Java 11 Java 11 added six new instance methods to java.lang.String. None require any imports — they are part of the standard String class.
Method Returns Description isBlank() boolean True if string is empty or contains only whitespace lines() Stream&amp;lt;String&amp;gt; Stream of lines split by line terminators strip() String Removes leading and trailing Unicode whitespace stripLeading() String Removes leading Unicode whitespace only stripTrailing() String Removes trailing Unicode whitespace only repeat(int n) String Returns the string repeated n times isBlank() Returns true if the string is empty or contains only whitespace characters as defined by Character.</description></item><item><title>Claude Extended and Adaptive Thinking: Making Claude Reason Before It Answers</title><link>https://blog.devops-monk.com/2026/05/claude-adaptive-thinking-guide/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://blog.devops-monk.com/2026/05/claude-adaptive-thinking-guide/</guid><description>By default, Claude generates its response token by token without any deliberate planning step. For most tasks — answering a question, writing a function, explaining a concept — this is fine. The response comes quickly and it is good.
For some tasks, it is not enough. Complex multi-step reasoning problems, ambiguous architecture decisions, intricate security analyses — these benefit from Claude thinking through the problem before committing to an answer. That is what extended thinking and adaptive thinking provide.</description></item><item><title>Claude Managed Agents: Deploy AI Agents Without Managing Infrastructure</title><link>https://blog.devops-monk.com/2026/05/claude-managed-agents-guide/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://blog.devops-monk.com/2026/05/claude-managed-agents-guide/</guid><description>Building an AI agent that runs autonomously — browses the web, executes code, reads and writes files, persists memory across sessions — requires infrastructure. You need a sandbox, a process that can run for hours without your web server timing out, and a way to resume from where you left off after a network hiccup.
Claude Managed Agents, launched in public beta in April 2026, offloads all of that to Anthropic.</description></item><item><title>Claude Prompt Caching: Cut Your API Costs by 90%</title><link>https://blog.devops-monk.com/2026/05/claude-prompt-caching-guide/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://blog.devops-monk.com/2026/05/claude-prompt-caching-guide/</guid><description>If you are calling the Claude API repeatedly with a large system prompt, a big document, or a long codebase context — and you are not using prompt caching — you are paying full price every time for content that has not changed. Prompt caching stores a prefix of your prompt server-side and charges 90% less to read it back on every subsequent request.
For applications that repeatedly process the same context, this is the single highest-impact API optimisation available.</description></item></channel></rss>