Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for getWriter (0.04 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterRequest.java

     */
    @Experimental
    public interface XmlWriterRequest<T> {
    
        @Nullable
        Path getPath();
    
        @Nullable
        OutputStream getOutputStream();
    
        @Nullable
        Writer getWriter();
    
        @Nonnull
        T getContent();
    
        @Nullable
        Function<Object, String> getInputLocationFormatter();
    
        static <T> XmlWriterRequestBuilder<T> builder() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Aug 10 22:21:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                    if (!isMultipartRequest(request) || !request.getMethod().equals(HttpMethods.POST)) {
                        response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
                        response.getWriter().println(HttpServletResponse.SC_BAD_REQUEST);
                        HttpConnection.getCurrentConnection().getRequest().setHandled(true);
                        return;
                    }
                    try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/WebApiResponse.java

         *
         * @return A PrintWriter for response output
         * @throws IOException If an I/O error occurs
         */
        @Override
        public PrintWriter getWriter() throws IOException {
            // dummy stream
            return new PrintWriter(new ByteArrayOutputStream());
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                    return true;
                }
    
                @Override
                public void setWriteListener(WriteListener listener) {
                }
            };
    
            lenient().when(response.getWriter()).thenReturn(printWriter);
            lenient().when(response.getOutputStream()).thenReturn(servletOutputStream);
    
            // Setup servlet config
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                }
                sorted.add(j, dirents[i]);
            }
            if (maxLen > 50) {
                maxLen = 50;
            }
            maxLen *= 9; /* convert to px */
    
            out = resp.getWriter();
    
            resp.setContentType("text/html");
    
            out.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
            out.println("<html><head><title>Network Explorer</title>");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/http/NetworkExplorer.java

         */
        @SuppressWarnings("resource")
        protected void doDirectory(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile dir) throws IOException {
            final PrintWriter out = resp.getWriter();
            SmbFile[] dirents;
            SmbFile f;
            int i, j, len, maxLen, dirCount, fileCount, sort;
            String str, name, path, fmt;
            LinkedList<SmbFile> sorted;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

                        }
                    }
                    buf.append('}');
                    buf.append('\n');
                    try {
                        response.getWriter().print(buf.toString());
                    } catch (final IOException e) {
                        throw new IORuntimeException(e);
                    }
                    return true;
                }, OptionalThing.empty());
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 55.4K bytes
    - Viewed (1)
  8. impl/maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    writeIndent() throws java.io.IOException; public void setProperty(String, Object) throws IllegalArgumentExcep, IllegalStateExceptio; public Object getProperty(String) throws IllegalArgumentExcep; private String getLocation(); public java.io.Writer getWriter(); public void setOutput(java.io.Writer); public void setOutput(java.io.OutputStream, String) throws java.io.IOException; public void startDocument(String, Boolean) throws java.io.IOException; public void endDocument() throws java.io.IOException;...
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 164.6K bytes
    - Viewed (0)
  9. cmd/tier.go

    	binary.LittleEndian.PutUint16(data[2:4], tierConfigVersion)
    
    	// Marshal the tier config
    	return config.MarshalMsg(data)
    }
    
    // getDriver returns a warmBackend interface object initialized with remote tier config matching tierName
    func (config *TierConfigMgr) getDriver(ctx context.Context, tierName string) (d WarmBackend, err error) {
    	config.Lock()
    	defer config.Unlock()
    
    	var ok bool
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. cmd/tier-sweeper.go

    type jentry struct {
    	ObjName   string
    	VersionID string
    	TierName  string
    }
    
    func deleteObjectFromRemoteTier(ctx context.Context, objName, rvID, tierName string) error {
    	w, err := globalTierConfigMgr.getDriver(ctx, tierName)
    	if err != nil {
    		return err
    	}
    	return w.Remove(ctx, objName, remoteVersionID(rvID))
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top