Skip to content
Minified
GitHubDiscord
  • Getting Started
  • Events
    • Introduction
    • Connection
      • CheckConnectionEvent
      • OfflineEvent
    • Auth
      • CreateMasterKeyEvent
      • LoadEncryptedSessionEvent
      • SaveEncryptedSessionEvent
    • Java
      • EnsureJavaVersionEvent
      • ExtractArchiveEvent
      • JavaArchiveDownloadEvent
    • Launch
      • ConfigureX11EnvironmentEvent
      • DownloadAssetsEvent
      • DownloadClientJarEvent
      • DownloadLibrariesEvent
      • GameOutputEvent
      • GameProcessStartedEvent
      • GameStartEvent
      • GameStoppedEvent
      • InstallForgeEvent
      • InstallNeoforgeEvent
  • Modules
    • Auth
    • Java
    • Launch
      • Basics
      • Configuration
      • Modding
      • Versions
    • Utils
      • JSON
      • HTTP
      • Network
      • Downloads & Hashing
      • Exceptions
      • API Endpoints
    • Modrinth
      • Modrinth
      • Loaders
      • Projects
        • Project
        • Projects Client
      • Tags
      • Teams
      • Users
      • Versions
      • Exceptions
    • Worlds
      • Introduction
      • Opening a World
      • Dimensions and Chunks
      • Entities and Points of Interest
  • API Reference
    • Overview
    • minified-auth
      • Overview
      • auth
      • auth.encryption
      • auth.events
      • auth.events.encryption
      • auth.exceptions
      • auth.skin
      • auth.user
    • minified-events
      • Overview
      • events
      • events.type.connection
    • minified-java
      • Overview
      • java
      • java.events
      • java.events.download
      • java.events.extract
    • minified-launch
      • Overview
      • launch.arguments
      • launch.download
      • launch.download.assets
      • launch.download.libraries
      • launch.events.download.assets
      • launch.events.download.client
      • launch.events.download.libraries
      • launch.events.environment
      • launch.events.launch
      • launch.events.loader
      • launch.exceptions.cache
      • launch.exceptions.download
      • launch.exceptions.libraries
      • launch.exceptions.loader
      • launch.exceptions.loader.forge
      • launch.exceptions.loader.neoforge
      • launch.exceptions.profile
      • launch.exceptions.version
      • launch.launch
      • launch.launch.internal
      • launch.launch.modding
      • launch.launch.modding.custom
      • launch.launch.modding.fabric
      • launch.launch.modding.forge
      • launch.launch.modding.forge.api
      • launch.launch.modding.forge.installer
      • launch.launch.modding.neoforge
      • launch.launch.modding.neoforge.api
      • launch.launch.modding.neoforge.installer
      • launch.launch.modding.quilt
      • launch.launch.modding.vanilla
      • launch.profile
      • launch.utils
    • minified-modrinth
      • Overview
      • modrinth
      • modrinth.exceptions
      • modrinth.internal
      • modrinth.loaders
      • modrinth.projects
      • modrinth.tags
      • modrinth.teams
      • modrinth.users
      • modrinth.versions
    • minified-utils
      • Overview
      • utils
      • utils.cli
      • utils.download
      • utils.exceptions
        • Overview
        • HttpException
        • HttpException.Builder
        • HttpException.Method
        • NoConnectionException
        • NoConnectionException.Builder
        • NoConnectionException.ProbeResult
        • NoConnectionException.ProbeResult.Type
        • OfflineModeNeedsNetworkException
        • OfflineModeNeedsNetworkException.Reason
        • StopException
        • StopException.Builder
        • StopException.Severity
      • utils.http
      • utils.json
      • utils.nbt
      • utils.nbt.tag
      • utils.network
      • utils.os
      • utils.sha
      • utils.shortcut
      • utils.shortcut.writer
      • utils.version
    • minified-worlds
      • Overview
      • worlds.block
      • worlds.chunk
      • worlds.dimension
      • worlds.dimension.data
      • worlds.dimension.region
      • worlds.entity
      • worlds.poi
      • worlds.save
      • worlds.save.data
      • worlds.save.level
      • worlds.save.playerdata

On this page

  • Overview
  • Constructors
  • Builder()
  • Methods
  • body(byte[])
  • body(String)
  • build()
  • cause(Throwable)
  • header(String, String)
  • headers(Map)
  • method(Method)
  • requestId(String)
  • status(int)
  • statusMessage(String)
  • transientFailure(boolean)
  • url(String)

minified-utils/com.dervarex.minified.utils.exceptions/HttpException

HttpException.Builder

classSource
public static class Builder
Enclosing type
HttpException

Constructors

Builder()

Source
public Builder()

Methods

Builder body(byte[])Builder body(String)HttpException build()Builder cause(Throwable)Builder header(String, String)Builder headers(Map)Builder method(Method)Builder requestId(String)Builder status(int)Builder statusMessage(String)Builder transientFailure(boolean)Builder url(String)

body(byte[])

Source
public Builder body(byte[] b)
Parameters
bbyte[]
Returns
Builder

body(String)

Source
public Builder body(String s)
Parameters
sString
Returns
Builder

build()

Source
public HttpException build()
Returns
HttpException

cause(Throwable)

Source
public Builder cause(Throwable t)
Parameters
tThrowable
Returns
Builder

header(String, String)

Source
public Builder header(String k, String v)
Parameters
kString
vString
Returns
Builder

headers(Map)

Source
public Builder headers(Map<String, String> m)
Parameters
mMap<String, String>
Returns
Builder

method(Method)

Source
public Builder method(Method m)
Parameters
mMethod
Returns
Builder

requestId(String)

Source
public Builder requestId(String id)
Parameters
idString
Returns
Builder

status(int)

Source
public Builder status(int code)
Parameters
codeint
Returns
Builder

statusMessage(String)

Source
public Builder statusMessage(String msg)
Parameters
msgString
Returns
Builder

transientFailure(boolean)

Source
public Builder transientFailure(boolean tf)
Parameters
tfboolean
Returns
Builder

url(String)

Source
public Builder url(String u)
Parameters
uString
Returns
Builder

Minified is not affiliated with, endorsed by, or sponsored by Mojang Studios or Microsoft. Minecraft is a trademark of Microsoft.

    ↑↓ to navigate · Enter to open · Esc to close