类 RconConnection
- java.lang.Object
-
- java.net.URLConnection
-
- cn.mcres.gyhhy.MXLib.http.DisConnectURLConnection
-
- cn.mcres.gyhhy.MXLib.http.handlers.rcon.RconConnection
-
- 所有已实现的接口:
Closeable
,AutoCloseable
public class RconConnection extends DisConnectURLConnection
-
-
字段概要
-
从类继承的字段 java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
方法概要
修饰符和类型 方法 说明 void
addRequestProperty(String key, String value)
void
connect()
void
disconnect()
RconClient
getClient()
String
getContentEncoding()
MemoryInputStream
getInputStream()
LineOutputStream
getOutputStream()
void
setRequestProperty(String key, String value)
-
从类继承的方法 cn.mcres.gyhhy.MXLib.http.DisConnectURLConnection
close
-
从类继承的方法 java.net.URLConnection
getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentLength, getContentLengthLong, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setUseCaches, toString
-
-
-
-
方法详细资料
-
getInputStream
public MemoryInputStream getInputStream() throws IOException
- 覆盖:
getInputStream
在类中URLConnection
- 抛出:
IOException
-
connect
public void connect() throws IOException
- 指定者:
connect
在类中URLConnection
- 抛出:
IOException
-
getOutputStream
public LineOutputStream getOutputStream() throws IOException
- 覆盖:
getOutputStream
在类中URLConnection
- 抛出:
IOException
-
disconnect
public void disconnect() throws IOException
- 覆盖:
disconnect
在类中DisConnectURLConnection
- 抛出:
IOException
-
addRequestProperty
public void addRequestProperty(String key, String value)
- 覆盖:
addRequestProperty
在类中URLConnection
-
setRequestProperty
public void setRequestProperty(String key, String value)
- 覆盖:
setRequestProperty
在类中URLConnection
-
getClient
public RconClient getClient()
-
getContentEncoding
public String getContentEncoding()
- 覆盖:
getContentEncoding
在类中URLConnection
-
-