Package net.minecraft.server.network
Class LegacyTextFilter
java.lang.Object
net.minecraft.server.network.ServerTextFilter
net.minecraft.server.network.LegacyTextFilter
- All Implemented Interfaces:
 AutoCloseable
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interfaceNested classes/interfaces inherited from class net.minecraft.server.network.ServerTextFilter
ServerTextFilter.IgnoreStrategy, ServerTextFilter.MessageEncoder, ServerTextFilter.PlayerContext, ServerTextFilter.RequestFailedException - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final String(package private) final LegacyTextFilter.JoinOrLeaveEncoder(package private) final URL(package private) final LegacyTextFilter.JoinOrLeaveEncoder(package private) final URLFields inherited from class net.minecraft.server.network.ServerTextFilter
chatIgnoreStrategy, LOGGER, workerPool - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateLegacyTextFilter(URL pChatEndpoint, ServerTextFilter.MessageEncoder pChatEncoder, URL pJoinEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pJoinEncoder, URL pLeaveEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pLeaveEncoder, String pAuthKey, ServerTextFilter.IgnoreStrategy pChatIgnoreStrategy, ExecutorService pWorkerPool)  - 
Method Summary
Modifier and TypeMethodDescriptioncreateContext(com.mojang.authlib.GameProfile p_364054_) static ServerTextFiltercreateTextFilterFromConfig(String pConfig) protected FilteredTextfilterText(String p_361804_, ServerTextFilter.IgnoreStrategy p_362791_, JsonObject p_364399_) (package private) voidprocessJoinOrLeave(com.mojang.authlib.GameProfile pProfile, URL pEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pEncoder, Executor pStreamExecutor) private voidprocessRequest(JsonObject pRequest, URL pEndpoint) protected voidsetAuthorizationProperty(HttpURLConnection p_365203_) Methods inherited from class net.minecraft.server.network.ServerTextFilter
close, connectionReadTimeout, createFromConfig, createWorkerPool, drainStream, getEndpoint, getEndpointFromConfig, getURLConnection, makeRequest, parseMask, requestMessageProcessing 
- 
Field Details
- 
ENDPOINT
- See Also:
 
 - 
joinEndpoint
 - 
joinEncoder
 - 
leaveEndpoint
 - 
leaveEncoder
 - 
authKey
 
 - 
 - 
Constructor Details
- 
LegacyTextFilter
private LegacyTextFilter(URL pChatEndpoint, ServerTextFilter.MessageEncoder pChatEncoder, URL pJoinEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pJoinEncoder, URL pLeaveEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pLeaveEncoder, String pAuthKey, ServerTextFilter.IgnoreStrategy pChatIgnoreStrategy, ExecutorService pWorkerPool)  
 - 
 - 
Method Details
- 
createTextFilterFromConfig
 - 
createContext
- Overrides:
 createContextin classServerTextFilter
 - 
processJoinOrLeave
void processJoinOrLeave(com.mojang.authlib.GameProfile pProfile, URL pEndpoint, LegacyTextFilter.JoinOrLeaveEncoder pEncoder, Executor pStreamExecutor)  - 
processRequest
- Throws:
 IOException
 - 
setAuthorizationProperty
- Specified by:
 setAuthorizationPropertyin classServerTextFilter
 - 
filterText
protected FilteredText filterText(String p_361804_, ServerTextFilter.IgnoreStrategy p_362791_, JsonObject p_364399_) - Specified by:
 filterTextin classServerTextFilter
 
 -