La clase RequestState
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
La clase RequestState solicita información de estado sobre una solicitud a través de las siguientes propiedades:
remote_host
- Nombre de host remoto donde se originó la solicitud.
remote_address
- Dirección IP donde se originó la solicitud.
server_host
- Host del servidor en el que reside el servicio.
server_port
- Puerto desde el cual el servicio recibió la solicitud.
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-09-04 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eThe \u003ccode\u003eRequestState\u003c/code\u003e class provides details about the origin and destination of a request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eremote_host\u003c/code\u003e property reveals the originating host name of the request.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eremote_address\u003c/code\u003e indicates the IP address from which the request was sent.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eserver_host\u003c/code\u003e identifies the server hosting the requested service.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eserver_port\u003c/code\u003e shows the port number on which the service received the request.\u003c/p\u003e\n"]]],[],null,["# The RequestState Class\n\nThe RequestState class requests state information about a request via the following properties:\n\n`remote_host`\n: Remote host name where the request originated.\n\n`remote_address`\n: IP address where the request originated.\n\n`server_host`\n: Host of the server in which the service resides.\n\n`server_port`\n: Post from which the service has received the request."]]