- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 29 for SetStatus (0.06 seconds)
-
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
} catch (FileNotFoundException e) { return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500") .addHeader("content-type: text/plain; charset=utf-8") .setBody("SERVER ERROR: " + e);
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
} /** * Get negotiation status * * @return status code (0 = success) */ public int getStatus() { return status; } /** * Set negotiation status * * @param status status code */ public void setStatus(int status) { this.status = status; } /** * Get selected protocol version *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponse.java
this.available = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); return 6; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java
return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.converter = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.converter = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} @JvmName("-deprecated_getStatus") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "status"), level = DeprecationLevel.ERROR, ) fun getStatus(): String = status fun setStatus(status: String) = apply { this.status = status } fun setResponseCode(code: Int): MockResponse { val reason = when (code) {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
} /** * Get the negotiation status * * @return status code */ public int getStatus() { return status; } /** * Set the negotiation status * * @param status status code */ public void setStatus(int status) { this.status = status; } /** * Get the maximum size for RDMA read/write operationsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/RateLimitFilter.java
* @param response the HTTP response * @throws IOException if an I/O error occurs */ protected void sendBlockedResponse(final HttpServletResponse response) throws IOException { response.setStatus(HttpServletResponse.SC_FORBIDDEN); response.setContentType("application/json;charset=UTF-8"); response.getWriter().write("{\"error\":\"ip_blocked\",\"message\":\"Access denied.\"}"); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 4.4K bytes - Click Count (0) -
src/main/java/jcifs/http/NtlmSsp.java
} } else { resp.setHeader("WWW-Authenticate", "NTLM"); } resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED); resp.setContentLength(0); resp.flushBuffer(); return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
response.addHeader("WWW-Authenticate", "Basic realm=\"" + realm + "\""); } response.setHeader("Connection", "close"); response.setStatus(HttpServletResponse.SC_UNAUTHORIZED); response.flushBuffer(); return; } final HttpSession ssn = request.getSession();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.1K bytes - Click Count (0)