twitter / cloudhopper-commons Goto Github PK
View Code? Open in Web Editor NEWCloudhopper Commons
License: Apache License 2.0
Cloudhopper Commons
License: Apache License 2.0
Currently there are no pushed tags:
https://github.com/twitter/cloudhopper-commons/releases
Would recommend using GitHub release feature for pretty releases (tags):
https://github.com/blog/1547-release-your-software
The 1.5.1 jar published for ch-httpclient-util is unusable as it's got html client rather than compiled classes. I noticed this for 1.5.1 of ch-sxmp as well (that one has a newer, working version)
https://repo1.maven.org/maven2/com/cloudhopper/ch-httpclient-util/1.5.1/
META-INF/
META-INF/MANIFEST.MF
com/
com/cloudhopper/
com/cloudhopper/httpclient/
com/cloudhopper/httpclient/util/
com/cloudhopper/httpclient/util/class-use/
resources/
allclasses-frame.html
allclasses-noframe.html
com/cloudhopper/httpclient/util/class-use/DoNotVerifySSLCertificateTrustManager.html
com/cloudhopper/httpclient/util/class-use/HttpClientFactory.html
com/cloudhopper/httpclient/util/class-use/HttpClientUtil.html
com/cloudhopper/httpclient/util/class-use/PreemptiveBasicAuthHttpRequestInterceptor.html
com/cloudhopper/httpclient/util/class-use/SchemeFactory.html
com/cloudhopper/httpclient/util/class-use/UnexpectedHttpStatusCodeException.html
com/cloudhopper/httpclient/util/class-use/Version.html
com/cloudhopper/httpclient/util/DoNotVerifySSLCertificateTrustManager.html
com/cloudhopper/httpclient/util/HttpClientFactory.html
com/cloudhopper/httpclient/util/HttpClientUtil.html
com/cloudhopper/httpclient/util/package-frame.html
com/cloudhopper/httpclient/util/package-summary.html
com/cloudhopper/httpclient/util/package-tree.html
com/cloudhopper/httpclient/util/package-use.html
com/cloudhopper/httpclient/util/PreemptiveBasicAuthHttpRequestInterceptor.html
com/cloudhopper/httpclient/util/SchemeFactory.html
com/cloudhopper/httpclient/util/UnexpectedHttpStatusCodeException.html
com/cloudhopper/httpclient/util/Version.html
constant-values.html
deprecated-list.html
help-doc.html
index-all.html
index.html
overview-tree.html
package-list
resources/background.gif
resources/tab.gif
resources/titlebar.gif
resources/titlebar_end.gif
serialized-form.html
stylesheet.css
GitHub supports contributing guidelines:
https://github.com/blog/1184-contributing-guidelines
We should add some to this repository. Here are some examples:
https://github.com/twitter/CocoaSPDY/blob/master/CONTRIBUTING.md
https://github.com/twitter/scalding/blob/develop/CONTRIBUTING.md
I'm trying to decode a MO message using CharsetUtil.decode
but I don't know the dataCoding
in advance. I can't seem to find a mapping between the dataCoding
byte to the Charset
or CharsetName
DeliverSm mo = (DeliverSm) pduRequest;
byte dataCoding = mo.getDataCoding();
byte[] shortMessage = mo.getShortMessage();
// in the following line how can I get the CharsetName from dataCoding
String messageText = CharsetUtil.decode(shortMessage, "UCS-2");
Am I missing something simple here?
I am trying to send MT message with HPRoman8 characters. It is not encoded properly as the message lies under GSM family.
Text: £100 €1000 e.mail@address
After CharsetUtil.decode I am seeing "100 e1000 e.mailaddress"
£ and € signs are missing
Would it be ok if I submitted a PR which adds the following method to CharsetUtil
? I the SMSC that I'm connecting too uses LittleEndian for UCS-2
static public byte[] getEndianBytes(byte [] sourceBytes, ByteOrder destByteOrder) {
ByteBuffer sourceByteBuffer = ByteBuffer.wrap(sourceBytes);
ByteBuffer destByteBuffer = ByteBuffer.allocate(sourceBytes.length);
destByteBuffer.order(destByteOrder);
while(sourceByteBuffer.hasRemaining()) {
destByteBuffer.putShort(sourceByteBuffer.getShort());
}
return destByteBuffer.array();
}
Like ListenableFuture (guava).
https://code.google.com/p/guava-libraries/wiki/ListenableFutureExplained
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.