Searched refs:address (Results 1 - 25 of 43) sorted by relevance

12

/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DRestTestBase.java104 protected String getAddress(String address) { argument
105 if (address.startsWith("http://")) {
106 return address;
109 return baseUrl + getContextRoot() + address;
151 protected ClientResponse get(String address) { argument
152 return get(address, new HashMap<String, String>());
155 protected ClientResponse get(String address, Map<String, String> payload) { argument
156 return client.resource(getAddress(address)).queryParams(buildMultivaluedMap(payload)).accept(RESPONSE_TYPE).get(ClientResponse.class);
159 protected ClientResponse options(String address) { argument
160 return client.resource(getAddress(address))
163 post(String address, Map<String, String> payload) argument
167 post(String address) argument
171 put(String address, Map<String, String> payload) argument
175 put(String address) argument
179 postWithUpload(String address, Map<String, Object> payload) argument
191 delete(String address) argument
195 delete(String address, Map<String, String> payload) argument
[all...]
H A DTokenAuthenticationTest.java132 final String address = getAddress(URL_DELETE_USER);
133 ClientResponse response = client.resource(address)
/glassfish-3.1.2/admin/config-api/src/test/java/com/sun/enterprise/configapi/tests/
H A DDefaultValueTest.java71 String address = listener.getAddress();
75 assertEquals(attr.defaultValue(), address);
77 assertEquals(raw.attribute("address"), address);
78 assertEquals(raw.rawAttribute("address"), address);
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/
H A DMonitorableSSLSelectorHandler.java89 final String address = ((InetSocketAddress) channel.socket().getRemoteSocketAddress()).toString();
92 monitoringId, channel.hashCode(), address);
102 final String address = ((InetSocketAddress) channel.socket().getRemoteSocketAddress()).toString();
105 monitoringId, channel.hashCode(), address);
H A DMonitorableSelectorHandler.java101 final String address = ((InetSocketAddress) channel.socket().
106 address);
116 final String address = ((InetSocketAddress) channel.socket().getRemoteSocketAddress()).toString();
119 monitoringId, channel.hashCode(), address);
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DAdminServiceTest.java53 String address = generateRandomNumber(255)+"."+generateRandomNumber(255)+"."+generateRandomNumber(255)+"."+generateRandomNumber(255);
56 setFieldValue("form1:propertySheet:propertySheetSection:AddressProp:Address", address);
64 assertEquals(address, getFieldValue("form1:propertySheet:propertySheetSection:AddressProp:Address"));
H A DRestSessionTimeoutTest.java152 protected ClientResponse delete(String address) { argument
153 return client.resource(address).accept(RESPONSE_TYPE).delete(ClientResponse.class);
156 protected ClientResponse post(String address, Map<String, String> payload) { argument
157 return client.resource(address).accept(RESPONSE_TYPE).post(ClientResponse.class, buildMultivaluedMap(payload));
/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/deployment/
H A DDeployedEndpointData.java93 public final String address; field in class:DeployedEndpointData
125 this.address = path;
126 this.wsdl = address+"?wsdl";
127 this.tester = address+"?Tester";
144 this.address = path;
145 this.wsdl = address+"?wsdl";
164 infoMap.put("address", address);
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/admin/
H A DValidateMulticastCommand.java66 private String address; field in class:ValidateMulticastCommand
95 if (address != null && !address.isEmpty()) {
97 argList.add(address);
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/enterprise/web/
H A DEmbeddedWebContainer.java289 * @param address InetAddress to bind to, or <code>null</code> if the
295 public Connector createConnector(String address, int port, argument
298 if (address != null) {
302 * address can be parsed (back) into an InetAddress using
305 int index = address.indexOf('/');
307 address = address.substring(index + 1);
312 "Creating connector for address='" +
313 ((address == null) ? "ALL" : address)
[all...]
/glassfish-3.1.2/common/mejb/src/main/java/org/glassfish/admin/mejb/
H A DRemoteListenerConnector.java51 * with the address of the callback port of the RemoteEventListener
60 private final String proxyAddress; // the RMI address of the remote event listener
66 public RemoteListenerConnector(String address) { argument
67 proxyAddress = address;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/probes/
H A DConnectionQueueProbeProvider.java59 @ProbeParam("address") String address) {}
65 @ProbeParam("address") String address) {}
56 connectionAcceptedEvent( @robeParam�) String listenerName, @ProbeParam(�) int connectionId, @ProbeParam(�) String address) argument
62 connectionConnectedEvent( @robeParam�) String listenerName, @ProbeParam(�) int connectionId, @ProbeParam(�) String address) argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/startup/
H A DEmbedded.java446 * @param address InetAddress to bind to, or <code>null</code> if the
452 public Connector createConnector(InetAddress address, int port, argument
454 return createConnector(address != null? address.toString() : null,
458 public Connector createConnector(String address, int port, argument
465 return createConnector(address, port, protocol);
469 public Connector createConnector(InetAddress address, int port, argument
471 return createConnector(address != null? address.toString() : null,
475 public Connector createConnector(String address, in argument
[all...]
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/container/
H A DRequestDispatcher.java100 InetAddress address,
99 registerEndpoint(String contextRoot, InetAddress address, int port, Collection<String> vsServers, Adapter endpointAdapter, ApplicationContainer container) argument
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/reader/impl/
H A DInstanceReaderImpl.java201 private String getResolvedHostName(String address) throws LbReaderException { argument
203 if (!address.equals(BIND_TO_ANY)) {
205 addr = InetAddress.getByName(address);
207 String msg = LbLogUtil.getStringManager().getString("CannotResolveHostName", address);
211 return address;
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/admin/adapter/
H A DAdminEndpointDecider.java72 private InetAddress address; field in class:AdminEndpointDecider
92 return address;
130 address = InetAddress.getByName(nl.getAddress());
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DDummyNetworkListener.java63 private String address = "0.0.0.0"; field in class:DummyNetworkListener
78 return address;
82 address = value;
H A DGrizzlyService.java223 InetAddress address = null;
233 address = InetAddress.getByName(listener.getAddress());
242 if (p.getPort() == listenerPort && p.getAddress().equals(address)) {
619 info.address,
634 InetAddress address,
640 if (proxy.getPort() == port && proxy.getAddress().equals(address)) {
697 InetAddress address = a.getListenAddress();
700 this.registerEndpoint(cr, address, port, vs, a, null);
742 private InetAddress address; field in class:GrizzlyService.AddressInfo
745 private AddressInfo(String address, Strin argument
633 registerEndpoint(String contextRoot, InetAddress address, int port, Collection<String> vsServers, Adapter endpointAdapter, ApplicationContainer container) argument
[all...]
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DJMXMPConnectorStarter.java66 final String address,
74 super(mbeanServer, address, port, authRealmName, securityEnabled, habitat, bootListener, sslConfig);
64 JMXMPConnectorStarter( final MBeanServer mbeanServer, final String address, final int port, final String authRealmName, final boolean securityEnabled, final Habitat habitat, final BootAMXListener bootListener, final Ssl sslConfig) argument
H A DRMIConnectorStarter.java106 final String address,
115 super(mbeanServer, address, port, authRealmName, securityEnabled, habitat, bootListener, sslConfig);
125 mBindToSingleIP = ENABLED && !(address.equals("0.0.0.0") || address.equals(""));
127 final InetAddress inetAddr = getAddress(address);
144 sslServerSocketFactory = new SecureRMIServerSocketFactory(sslConfig, habitat, getAddress(address));
152 mRegistry = startRegistry(address, mPort);
156 * Utility method to get an InetAddress from the address string from the config
196 * is a multihomed machine then the Registry is bound to a specific IP address
199 * @param addr the address wher
104 RMIConnectorStarter( final MBeanServer mbeanServer, final String address, final int port, final String protocol, final String authRealmName, final boolean securityEnabled, final Habitat habitat, final BootAMXListener bootListener, final Ssl sslConfig) argument
[all...]
H A DJMXStartupService.java243 final JMXServiceURL address = connector.getAddress();
245 mLogger.log(Level.INFO, "jmx.startupService.stopped.jmxconnector", address);
269 final String address = connConfig.getAddress();
278 starter = new RMIConnectorStarter(mMBeanServer, address, port,
283 starter = new JMXMPConnectorStarter(mMBeanServer, address, port,
/glassfish-3.1.2/admingui/common/src/main/java/org/glassfish/admingui/common/util/
H A DRestUtil.java746 public static RestResponse get(String address) { argument
747 return get(address, new HashMap<String, Object>());
750 public static RestResponse get(String address, Map<String, Object> payload) { argument
751 if (address.startsWith("/")) {
752 address = FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("REST_URL") + address;
754 WebResource webResource = JERSEY_CLIENT.resource(address).queryParams(buildMultivalueMap(payload));
761 public static RestResponse post(String address, Object payload, String contentType) { argument
762 WebResource webResource = JERSEY_CLIENT.resource(address);
777 public static RestResponse post(String address, Ma argument
788 put(String address, Map<String, Object> payload) argument
799 delete(String address, Map<String, Object> payload) argument
808 options(String address, String responseType) argument
[all...]
/glassfish-3.1.2/web/admin/src/main/java/org/glassfish/web/admin/cli/
H A DCreateNetworkListener.java89 @Param(name = "address", optional = true)
90 String address; field in class:CreateNetworkListener
142 "Port [{0}] is already taken for address [{1}], please choose another port.", port, address));
171 newNetworkListener.setAddress(address);
210 //check port uniqueness, only for same address
214 listener.getAddress().trim().equals(address)) {
/glassfish-3.1.2/admingui/web/src/main/resources/configuration/
H A DhttpListenerAttr.inc72 <sun:property id="addr" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.grizzly.networkListener.address}" helpText="$resource{i18n_web.grizzly.networkListener.addressHelp}">
73 <sun:textField id="addr" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.grizzly.networkListener.address']}" text="#{pageSession.valueMap['address']}" />
/glassfish-3.1.2/admingui/web/src/main/resources/grizzly/
H A DnetworkListenerAttr.inc116 <sun:property id="addr" labelAlign="left" noWrap="#{true}" overlapLabel="#{false}" label="$resource{i18n_web.grizzly.networkListener.address}" helpText="$resource{i18n_web.grizzly.networkListener.addressHelp}">
117 <sun:textField id="addr" columns="$int{40}" maxLength="#{sessionScope.fieldLengths['maxLength.grizzly.networkListener.address']}" text="#{pageSession.valueMap['address']}" />

Completed in 36 milliseconds

12