Searched refs:response (Results 1 - 25 of 196) sorted by relevance

12345678

/glassfish-3.1.2/webservices/jsr109-impl/src/main/java/org/glassfish/webservices/monitoring/
H A DHttpResponseInfoImpl.java54 final HttpServletResponse response; field in class:HttpResponseInfoImpl
57 public HttpResponseInfoImpl(HttpServletResponse response) { argument
58 this.response =response;
62 * @return the http servlet response
65 return response;
H A DMessageListener.java54 * @param response the jaxrpc response message trace, transport dependent.
56 public void invocationProcessed(MessageTrace request, MessageTrace response); argument
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/connector/
H A DResponseFacade.java76 * Facade class that wraps a Coyote response object.
77 * All methods are delegated to the wrapped response.
100 response.setContentType(contentType);
110 * Construct a wrapper for the specified response.
112 * @param response The response to be wrapped
114 public ResponseFacade(Response response) { argument
115 this.response = response;
130 * The wrapped response
132 protected Response response = null; field in class:ResponseFacade
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DPlainTextManager.java54 PlainTextManager(String response) throws RemoteException{ argument
55 this.response = response;
66 response = ManifestUtils.decode(response);
68 if (response.startsWith(good)) {
69 throw new RemoteSuccessException(response.substring(good.length()));
70 } else if (response.startsWith(bad)) {
71 throw new RemoteSuccessException(response.substring(bad.length()));
74 strings.get("unknownFormat", good, bad, response));
81 private String response; field in class:PlainTextManager
[all...]
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/jauth/
H A DHttpServletAuthParam.java49 * HTTP Servlet request and response objects.
51 * <p> HttpServletAuthParam may be created with null request or response
67 * a null response object. If the implementation of
69 * it may construct the appropriate response object itself and set it
77 private HttpServletResponse response; field in class:HttpServletAuthParam
82 * Create an HttpServletAuthParam with HTTP request and response objects.
85 * @param response the HTTP Servlet response object, or null.
88 HttpServletResponse response) {
90 this.response
87 HttpServletAuthParam(HttpServletRequest request, HttpServletResponse response) argument
131 setResponse(HttpServletResponse response) argument
[all...]
/glassfish-3.1.2/admin/rest/src/test/java/org/glassfish/admin/rest/
H A DProvidersTest.java78 ClientResponse response = get(URL_ACTION_REPORT_RESULT + ".html");
79 assertTrue(isSuccess(response));
84 ClientResponse response = get(URL_ACTION_REPORT_RESULT + ".xml");
85 assertTrue(isSuccess(response));
90 ClientResponse response = get(URL_ACTION_REPORT_RESULT + ".json");
91 assertTrue(isSuccess(response));
96 ClientResponse response = get(URL_COMMAND_RESOURCE_GET_RESULT + ".html");
97 assertTrue(isSuccess(response));
102 ClientResponse response = get(URL_COMMAND_RESOURCE_GET_RESULT + ".xml");
103 assertTrue(isSuccess(response));
[all...]
H A DResourceRefTest.java77 ClientResponse response = post(URL_CREATE_INSTANCE, newInstance);
78 assertTrue(isSuccess(response));
80 response = post(URL_JDBC_RESOURCE, jdbcResource);
81 assertTrue(isSuccess(response));
83 response = post(URL_RESOURCE_REF, resourceRef);
84 assertTrue(isSuccess(response));
86 ClientResponse response = delete("/domain/servers/server/" + instanceName + "/resource-ref/" + jdbcResourceName, new HashMap<String, String>() {{
89 assertTrue(isSuccess(response));
90 response = get("/domain/servers/server/" + instanceName + "/resource-ref/" + jdbcResourceName);
91 assertFalse(isSuccess(response));
[all...]
H A DNetworkListenerTest.java76 ClientResponse response = post(URL_PROTOCOL, new HashMap<String, String>() {{ put ("securityenabled", "false"); put("id", redirectProtocolName); }});
77 checkStatusForSuccess(response);
78 response = post(URL_PROTOCOL, new HashMap<String, String>() {{ put ("securityenabled", "false"); put("id", portUniProtocolName); }});
79 checkStatusForSuccess(response);
82 response = post (URL_PROTOCOL + "/" + redirectProtocolName + "/create-protocol-filter",
88 checkStatusForSuccess(response);
92 response = post (URL_PROTOCOL + "/" + portUniProtocolName + "/create-protocol-finder",
99 checkStatusForSuccess(response);
100 response = post (URL_PROTOCOL + "/" + portUniProtocolName + "/create-protocol-finder",
107 checkStatusForSuccess(response);
[all...]
H A DTokenAuthenticationTest.java70 ClientResponse response = client.resource(getAddress("/domain")).cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token)).get(ClientResponse.class);
71 assertTrue(isSuccess(response));
74 response = client.resource(getAddress(URL_DOMAIN_SESSIONS) + "/" + token).cookie(new Cookie(GF_REST_TOKEN_COOKIE_NAME, token)).delete(ClientResponse.class);
76 assertTrue(isSuccess(response));
93 ClientResponse response = get("/domain");
94 assertTrue(isSuccess(response));
97 response = post(URL_CREATE_USER, newUser);
98 assertTrue(isSuccess(response));
100 // Verify that we must now authentication (response.status = 401)
101 response
[all...]
H A DJvmOptionsTest.java103 ClientResponse response = get(URL_SERVER_JVM_OPTIONS);
104 assertTrue(isSuccess(response));
105 Map<String, Object> responseMap = MarshallingUtils.buildMapFromDocument(response.getEntity(String.class));
119 ClientResponse response = put(URL_TEST_CONFIG_JVM_OPTIONS, newOptions);
120 assertTrue(isSuccess(response));
121 response = get(URL_TEST_CONFIG_JVM_OPTIONS);
122 List<String> jvmOptions = getJvmOptions(response);
125 response = delete(URL_TEST_CONFIG_JVM_OPTIONS, newOptions);
126 assertTrue(isSuccess(response));
127 response
237 getJvmOptions(ClientResponse response) argument
[all...]
H A DConnectorsTest.java82 ClientResponse response = post(URL_CONNECTOR_CONNECTION_POOL, connPool);
83 checkStatusForSuccess(response);
85 createConnectorConnectionPool(connPoolName, secMap, response);
87 response = get(URL_CONNECTOR_CONNECTION_POOL+"/"+connPoolName+"/security-map/"+secMapName+"/user-group");
88 checkStatusForSuccess(response);
89 List<String> groupList = getLeafList(response);
92 response = post(URL_CONNECTOR_CONNECTION_POOL+"/"+connPoolName+"/security-map/"+secMapName+"/user-group", groups);
93 checkStatusForSuccess(response);
94 response = get(URL_CONNECTOR_CONNECTION_POOL+"/"+connPoolName+"/security-map/"+secMapName+"/user-group");
95 checkStatusForSuccess(response);
179 createConnectorConnectionPool(final String connPoolName, Map<String, String> secMap, ClientResponse response) argument
185 getLeafList(ClientResponse response) argument
[all...]
H A DClusterTest.java77 ClientResponse response = post(URL_CLUSTER, newCluster);
78 assertTrue(isSuccess(response));
80 response = get(URL_CLUSTER + "/" + clusterName + "/list-lifecycle-modules");
81 assertTrue(isSuccess(response));
83 response = post(URL_CLUSTER + "/" + clusterName + "/delete-cluster");
84 assertTrue(isSuccess(response));
86 response = get(URL_CLUSTER + "/" + clusterName);
87 assertFalse(isSuccess(response));
105 ClientResponse response = post(URL_CLUSTER, newCluster);
106 assertTrue(isSuccess(response));
[all...]
H A DConfigTest.java74 ClientResponse response = post(BASE_CONFIGS_URL + "/copy-config", formData);
75 assertFalse(isSuccess(response));
79 ClientResponse response = post(BASE_CONFIGS_URL + "/copy-config", configData);
80 checkStatusForSuccess(response);
82 response = get(BASE_CONFIGS_URL + "/config/" + configName);
83 checkStatusForSuccess(response);
87 ClientResponse response = post(BASE_CONFIGS_URL + "/config/" + configName + "/delete-config");
88 checkStatusForSuccess(response);
90 response = get(BASE_CONFIGS_URL + "/config/" + configName);
91 assertFalse(isSuccess(response));
[all...]
H A DJmsTest.java85 ClientResponse response = post(URL_CONNECTOR_CONNECTION_POOL, ccp_attrs);
86 checkStatusForSuccess(response);
93 response = post(URL_CONNECTOR_RESOURCE, cr_attrs);
94 checkStatusForSuccess(response);
101 response = post(URL_CONNECTOR_CONNECTION_POOL + "/" + poolName, new HashMap<String, String>() {
106 checkStatusForSuccess(response);
112 response = post(URL_CONNECTOR_RESOURCE + "/" + poolName, new HashMap<String, String>() {
117 checkStatusForSuccess(response);
123 response = delete(URL_CONNECTOR_CONNECTION_POOL + "/" + poolName, new HashMap<String, String>() {
128 checkStatusForSuccess(response);
[all...]
H A DExternalResourceTest.java64 ClientResponse response = post (URL_EXTERNAL_RESOURCE, newResource);
65 checkStatusForSuccess(response);
67 response = get(URL_EXTERNAL_RESOURCE + "/" + resourceName);
68 checkStatusForSuccess(response);
70 response = delete(URL_EXTERNAL_RESOURCE + "/" + resourceName);
71 checkStatusForSuccess(response);
H A DNoCLICommandResourceCreationTest.java69 ClientResponse response = client.resource(getAddress(URL_SERVER_PROPERTY))
73 assertTrue(isSuccess(response));
77 response = get (propertyURL);
78 assertTrue(isSuccess(response));
79 Map<String, String> entity = getEntityValues(response);
86 response = client.resource(getAddress(URL_SERVER_PROPERTY))
90 assertTrue(isSuccess(response));
91 response = get (propertyURL);
92 assertTrue(isSuccess(response));
93 entity = getEntityValues(response);
[all...]
H A DJdbcTest.java73 ClientResponse response = post(BASE_JDBC_CONNECTION_POOL_URL, params);
74 assertTrue(isSuccess(response));
79 response = delete(BASE_JDBC_CONNECTION_POOL_URL+"/"+poolName, new HashMap<String, String>());
80 assertTrue(isSuccess(response));
82 response = get(BASE_JDBC_CONNECTION_POOL_URL + "/" + poolName);
83 assertEquals(404, response.getStatus());
100 ClientResponse response = post (BASE_JDBC_RESOURCE_URL, params);
101 assertTrue(isSuccess(response));
106 response = delete("/" + encodedPoolName, new HashMap<String, String>());
107 assertTrue(isSuccess(response));
[all...]
H A DApplicationTest.java90 ClientResponse response = post (JdbcTest.BASE_JDBC_RESOURCE_URL, params);
91 assertTrue(isSuccess(response));
115 ClientResponse response = get(appUrl);
116 assertEquals ("Test", response.getEntity(String.class).trim());
118 response = post(URL_APPLICATION_DEPLOY + "/" + appName + "/disable");
119 checkStatusForSuccess(response);
121 response = get(appUrl);
122 assertFalse("Response was " + response.getStatus(), isSuccess(response));
124 response
[all...]
H A DMetadataTest.java59 ClientResponse response = options(URL_CONFIG);
60 assertTrue(isSuccess(response));
63 Map extraProperties = MarshallingUtils.buildMapFromDocument(response.getEntity(String.class));
67 response = client.resource(getAddress(URL_CONFIG)).get(ClientResponse.class);
68 assertTrue(response.getEntity(String.class).contains("extraProperties"));
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DRestResponseTest.java62 RestResponse response = RestUtil.get(URL_GENERATE_JVM_REPORT, new HashMap<String, Object>(){{
65 assertTrue(response.getResponseBody().contains("Operating System Information"));
70 RestResponse response = RestUtil.get(URL_UPTIME);
71 assertTrue(response.getResponseBody().contains("\"uptime AdminCommand\""));
76 RestResponse response = RestUtil.get(URL_UPTIME);
77 assertTrue(response.isSuccess());
79 response = RestUtil.get(URL_UPTIME + "/forceFailure");
80 assertFalse(response.isSuccess());
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/core/
H A DApplicationResponse.java71 * that transforms an application response object (which might be the original
97 * Construct a new wrapped response around the specified servlet response.
99 * @param response The servlet response being wrapped
101 public ApplicationResponse(ServletResponse response) { argument
103 this(response, false);
109 * Construct a new wrapped response around the specified servlet response.
111 * @param response Th
115 ApplicationResponse(ServletResponse response, boolean included) argument
214 setResponse(ServletResponse response) argument
[all...]
H A DStandardEngineValve.java127 * @param response Response to be produced
134 public int invoke(Request request, Response response) argument
137 Host host = preInvoke(request, response);
145 host.getPipeline().invoke(request, response);
148 host.getPipeline().getBasic().invoke(request, response);
160 org.apache.catalina.connector.Response response)
163 Host host = preInvoke(request, response);
171 host.getPipeline().invoke(request, response);
174 host.getPipeline().getBasic().invoke(request, response);
179 private Host preInvoke(Request request, Response response) argument
159 invoke(org.apache.catalina.connector.Request request, org.apache.catalina.connector.Response response) argument
[all...]
/glassfish-3.1.2/tests/embedded/maven-plugin/filterURIMapping/src/main/java/test/
H A DServletTest.java61 public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { argument
63 doPost(request, response);
66 public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { argument
69 response.setContentType("text/html");
70 PrintWriter out = response.getWriter();
/glassfish-3.1.2/ejb/ejb-timer-service-app/src/main/java/com/sun/ejb/timers/
H A DTimerWelcomeServlet.java71 * @param response servlet response
73 protected void processRequest(HttpServletRequest request, HttpServletResponse response) argument
75 response.setContentType("text/html;charset=UTF-8");
76 PrintWriter out = response.getWriter();
123 * @param response servlet response
125 protected void doGet(HttpServletRequest request, HttpServletResponse response) argument
127 processRequest(request, response);
133 * @param response servle
135 doPost(HttpServletRequest request, HttpServletResponse response) argument
[all...]
/glassfish-3.1.2/tests/quicklook/ejb/sfulnoi/src/java/
H A DSfulServlet.java53 protected void processRequest(HttpServletRequest request, HttpServletResponse response) argument
55 response.setContentType("text/plain");
56 PrintWriter out = response.getWriter();
113 protected void doGet(HttpServletRequest request, HttpServletResponse response) argument
115 processRequest(request, response);
119 protected void doPost(HttpServletRequest request, HttpServletResponse response) argument
121 processRequest(request, response);

Completed in 79 milliseconds

12345678