io.continual.http.service.framework.inspection.CHttpObserver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of continualHttp Show documentation
Show all versions of continualHttp Show documentation
Continual's HTTP service library.
The newest version!
package io.continual.http.service.framework.inspection;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.List;
import java.util.Map;
public interface CHttpObserver
{
CHttpObserver method ( String method );
CHttpObserver onUrl ( String url );
CHttpObserver queryString ( String qs );
CHttpObserver contentTypeRequest ( String type );
CHttpObserver contentLengthRequest ( int length );
InputStream wrap ( InputStream inputStream );
interface HeaderLister
{
Map> getHeaders ();
}
CHttpObserver withHeaders ( HeaderLister hl );
void closeTrx ();
CHttpObserver replyWith ( int status, String msg );
CHttpObserver replyWith ( int code );
CHttpObserver replyHeader ( String string, String mimeType );
PrintWriter wrap ( PrintWriter writer );
OutputStream wrap ( OutputStream outputStream );
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy