net.minecraft.server.network

public abstract class ServerTextFilter

implements AutoCloseable

atp
net.minecraft.server.network.ServerTextFilter
net.minecraft.class_9847
net.minecraft.server.filter.AbstractTextFilterer
net.minecraft.server.network.ServerTextFilter

Field summary

Modifier and TypeField
protected static final org.slf4j.Logger
a
LOGGER
field_52365
LOGGER
private static final AtomicInteger
b
WORKER_COUNT
field_52366
WORKER_ID
private static final ThreadFactory
c
THREAD_FACTORY
field_52367
THREAD_FACTORY
private final URL
d
chatEndpoint
field_52368
url
private final ServerTextFilter$MessageEncoder
e
chatEncoder
field_52369
messageEncoder
final ServerTextFilter$IgnoreStrategy
f
chatIgnoreStrategy
field_52370
hashIgnorer
final ExecutorService
g
workerPool
field_52371
threadPool

Constructor summary

ModifierConstructor
protected (URL url, ServerTextFilter$MessageEncoder messageEncoder, ServerTextFilter$IgnoreStrategy hashIgnorer, ExecutorService threadPool)

Method summary

Modifier and TypeMethod
protected static ExecutorService
a(int arg0)
createWorkerPool(int arg0)
method_61291(int arg0)
newThreadPool(int threadCount)
protected static URL
a(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
getEndpoint(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
method_61300(URI arg0, com.google.gson.JsonObject arg1, String arg2, String arg3)
resolveEndpoint(URI uri, com.google.gson.JsonObject endpoints, String key, String defaultPath)
protected static String
a(com.google.gson.JsonObject arg0, String arg1, String arg2)
getEndpointFromConfig(com.google.gson.JsonObject arg0, String arg1, String arg2)
method_61293(com.google.gson.JsonObject arg0, String arg1, String arg2)
getEndpointPath(com.google.gson.JsonObject endpoints, String key, String defaultPath)
public static ServerTextFilter
a(aqz arg0)
createFromConfig(DedicatedServerProperties arg0)
method_61292(class_3806 arg0)
createTextFilter(ServerPropertiesHandler properties)
protected CompletableFuture<FilteredText>
a(com.mojang.authlib.GameProfile arg0, String arg1, atp$a arg2, Executor arg3)
requestMessageProcessing(com.mojang.authlib.GameProfile arg0, String arg1, ServerTextFilter$IgnoreStrategy arg2, Executor arg3)
method_61296(com.mojang.authlib.GameProfile arg0, String arg1, class_9847$class_5515 arg2, Executor arg3)
filter(com.mojang.authlib.GameProfile profile, String raw, AbstractTextFilterer$HashIgnorer hashIgnorer, Executor executor)
protected abstract FilteredText
a(String arg0, atp$a arg1, com.google.gson.JsonObject arg2)
filterText(String arg0, ServerTextFilter$IgnoreStrategy arg1, com.google.gson.JsonObject arg2)
method_61281(String arg0, class_9847$class_5515 arg1, com.google.gson.JsonObject arg2)
filter(String raw, AbstractTextFilterer$HashIgnorer hashIgnorer, com.google.gson.JsonObject response)
protected FilterMask
a(String arg0, com.google.gson.JsonArray arg1, atp$a arg2)
parseMask(String arg0, com.google.gson.JsonArray arg1, ServerTextFilter$IgnoreStrategy arg2)
method_61299(String arg0, com.google.gson.JsonArray arg1, class_9847$class_5515 arg2)
createFilterMask(String raw, com.google.gson.JsonArray redactedTextIndex, AbstractTextFilterer$HashIgnorer hashIgnorer)
public void
close()
close()
protected void
a(InputStream arg0)
drainStream(InputStream arg0)
method_61297(InputStream arg0)
discardRestOfInput(InputStream stream)
private com.google.gson.JsonObject
b(com.google.gson.JsonObject arg0, URL arg1)
processRequestResponse(com.google.gson.JsonObject arg0, URL arg1)
method_61302(com.google.gson.JsonObject arg0, URL arg1)
request(com.google.gson.JsonObject request, URL url)
protected HttpURLConnection
a(com.google.gson.JsonObject arg0, URL arg1)
makeRequest(com.google.gson.JsonObject arg0, URL arg1)
method_61294(com.google.gson.JsonObject arg0, URL arg1)
openConnection(com.google.gson.JsonObject request, URL url)
protected abstract void
a(HttpURLConnection arg0)
setAuthorizationProperty(HttpURLConnection arg0)
method_61284(HttpURLConnection arg0)
addAuthentication(HttpURLConnection connection)
protected int
a()
connectionReadTimeout()
method_61285()
getReadTimeout()
protected HttpURLConnection
a(URL arg0)
getURLConnection(URL arg0)
method_61301(URL arg0)
openConnection(URL url)
public TextFilter
a(com.mojang.authlib.GameProfile arg0)
createContext(com.mojang.authlib.GameProfile arg0)
method_31297(com.mojang.authlib.GameProfile arg0)
createFilterer(com.mojang.authlib.GameProfile profile)