coyoteReq.localName().setString(hostName()); coyoteReq.setLocalPort(localAddr.getPort());
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * @return the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/* */ public String getLocalName() /* */ { /* 1211 */ if (this.localName == null) { /* 1212 */ this.coyoteRequest.action(ActionCode.ACTION_REQ_LOCAL_NAME_ATTRIBUTE, this.coyoteRequest); /* */ /* 1214 */ this.localName = this.coyoteRequest.localName().toString(); /* */ } /* 1216 */ return this.localName; /* */ } /* */
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * @return the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Returns the host name of the Internet Protocol (IP) interface on * which the request was received. */ @Override public String getLocalName(){ if (localName == null) { coyoteRequest.action (ActionCode.REQ_LOCAL_NAME_ATTRIBUTE, coyoteRequest); localName = coyoteRequest.localName().toString(); } return localName; }
/** * Request the local name attribute */ private void requestLocalNameAttr() { if (localName == null && (channel != null)) { try { localName = ((InetSocketAddress) this.channel.getLocalAddress()).getHostName(); } catch (Exception e) { CoyoteLogger.HTTP_LOGGER.errorGettingSocketInformation(e); } } request.localName().setString(localName); }
/** * {@inheritDoc} * <p> * This implementation populates the server name and port from the local * name and port provided by the AJP message. */ @Override protected void populateHost() { // No host information (HTTP/1.0) request.setServerPort(request.getLocalPort()); try { request.serverName().duplicate(request.localName()); } catch (IOException e) { response.setStatus(400); setErrorState(ErrorState.CLOSE_CLEAN, e); } }
request.serverName().duplicate(request.localName()); } catch (IOException e) { response.setStatus(400);
request.serverName().duplicate(request.localName()); } catch (IOException e) { response.setStatus(400);
request.serverName().duplicate(request.localName()); } catch (IOException e) { response.setStatus(400);
request.serverName().duplicate(request.localName()); } catch (IOException e) { response.setStatus(400);
msg.getBytes(req.localName()); req.setLocalPort(msg.getInt());