Index
All Classes and Interfaces|All Packages|Serialized Form
G
- GET - Enum constant in enum class com.ns.tcpframework.HTTPMethode
-
GET method - Retrieves a representation of the specified resource.
- getBody() - Method in class com.ns.tcpframework.HTTPRequest
-
Gets the body of the request as a string using the default character encoding.
- getDefaultHost() - Method in class com.ns.tcpframework.ServerConfig
-
Gets the default virtual host configuration used as a fallback.
- getDestination() - Method in class com.ns.tcpframework.logger.Log
-
Gets the timestamp of when the log was created.
- getDocumentRoot() - Method in class com.ns.tcpframework.VirtualHostConfig
-
Gets the document root path for this virtual host.
- getEnvironment() - Method in class com.ns.tcpframework.ServerConfig
-
Gets the deployment environment name.
- getHost() - Method in class com.ns.tcpframework.HTTPRequest
-
Gets the hostname from the Host header, excluding the port number if present.
- getHost() - Method in class com.ns.tcpframework.VirtualHostConfig
-
Gets the hostname for this virtual host.
- getHosts() - Method in class com.ns.tcpframework.ServerConfig
-
Gets the map of all configured virtual hosts.
- getInstance() - Static method in class com.ns.tcpframework.logger.ServerLogger
-
Returns the singleton instance of the ServerLogger.
- getInstance() - Static method in class com.ns.tcpframework.logger.Stats
-
Returns the singleton instance of the Stats collector.
- getLevel() - Method in class com.ns.tcpframework.logger.Log
-
Gets the severity level of the log.
- getLevel() - Method in enum class com.ns.tcpframework.logger.Loglevel
-
Gets the numeric severity value of this log level.
- getLoglevel() - Method in class com.ns.tcpframework.ServerConfig
-
Gets the minimum log level for server logging.
- getMessage() - Method in class com.ns.tcpframework.logger.Log
-
Gets the message content of the log.
- getMethod() - Method in class com.ns.tcpframework.HTTPRequest
-
Gets the HTTP method of the request.
- getPath() - Method in class com.ns.tcpframework.HTTPRequest
-
Gets the path of the request, excluding the query string if present.
- getPort() - Method in class com.ns.tcpframework.ServerConfig
-
Gets the TCP port number on which the server listens.
- getRequestHandlerByName(String) - Static method in class com.ns.tcpframework.HandlerFactory
-
Creates and returns a new instance of a RequestHandler by class name.
- getRequestHead() - Method in class com.ns.tcpframework.HTTPRequest
-
Gets the request head string, which includes the HTTP method and full path.
- getRouter() - Method in class com.ns.tcpframework.VirtualHostConfig
-
Gets the router configuration for this virtual host.
- getSSEHandler() - Method in class com.ns.tcpframework.RouterConfig
-
Retrieves the first registered SSE handler from the routes.
- getSSEHandler() - Method in class com.ns.tcpframework.VirtualHostConfig
-
Gets the first registered SSE handler from this virtual host's router.
- getSSEHandler() - Method in class com.ns.tcpframework.VirtualHostManager
-
Finds and returns the first SSE handler from any registered virtual host.
- getStatsAsJson() - Method in class com.ns.tcpframework.logger.Stats
-
Retrieves all current server statistics as a JSON object.
- getVirtualHost(String) - Method in class com.ns.tcpframework.VirtualHostManager
-
Resolves a hostname to its corresponding virtual host configuration.
- getVirtualHosts() - Method in class com.ns.tcpframework.VirtualHostManager
-
Gets the map of all registered virtual host configurations.
All Classes and Interfaces|All Packages|Serialized Form